class SillyToy
Public Class Methods
new()
click to toggle source
# File lib/silly_toy.rb, line 12 def initialize puts content puts "now, it's v.0.0.2." end
Public Instance Methods
content()
click to toggle source
# File lib/silly_toy.rb, line 17 def content "Owwee .. you can use: #{Ball.new}, #{Doll.new}, #{Stick.new} and #{WaterGun.new}." end