Title / Description
Code road_bike = RoadBike.new( size: 'M', tape_color: 'red') road_bike.size # => "M" mountain_bike = MountainBike.new( size: 'S', front_shock: 'Manitou', rear_shock: 'Fox') mountain_bike.size # NoMethodError: undefined method 'size'
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code