class Bicycle
Public Class Methods
get_gear_ratio()
click to toggle source
# File lib/bicycle.rb, line 4 def self.get_gear_ratio() puts Gear.new(52, 11).ratio puts Gear.new(30, 27).ratio end
# File lib/bicycle.rb, line 4 def self.get_gear_ratio() puts Gear.new(52, 11).ratio puts Gear.new(30, 27).ratio end