Mercurial > repos > other > SevenLanguagesInSevenWeeks
view 1-Ruby/object-all-things.rb @ 14:9aa1eba404f0
Add some poking of arrays
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 03 Jan 2017 20:28:17 +0000 |
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}" }