Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Bike
- attr_accessor :brand, :color
- def initialize(brand, color)
- @brand = brand
- @color = color
- end
- end
- bike = Bike.new(:schwinn, :red)
- puts bike.color
- puts bike.brand
- # WHERE'S MY BIKE???
Add Comment
Please, Sign In to add comment