Mercurial > repos > other > SevenLanguagesInSevenWeeks
view 1-Ruby/object-all-things.rb @ 38:e8407d4e72dd
Add code on reflection - basically involves the object returned by "proto" message
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 13 Sep 2017 20:11:52 +0100 |
parents | 2b423d86da51 |
children |
line wrap: on
line source
#! /usr/bin/env ruby 4 4.class puts 4.class 4 + 4 puts 4 + 4 4.methods 4.methods.each { |method| puts "4.#{method}" }