Skip to content

Instantly share code, notes, and snippets.

@harry-jung
Last active August 29, 2015 14:19
Show Gist options
  • Save harry-jung/cac17f0a508088a1b548 to your computer and use it in GitHub Desktop.
Save harry-jung/cac17f0a508088a1b548 to your computer and use it in GitHub Desktop.
Artie.rb
Class Artie
include Vehicle::Bike
include Vehicle::Car
fine_weather :ride_bike
nasty_weather :drive_car
private
def ride_bike
...
end
def drive_car
...
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment