Created
June 10, 2010 18:55
-
-
Save seamusabshere/433456 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(in our app) | |
class Automobile < ActiveRecord::Base | |
[...] | |
include BrighterPlanet::Automobile | |
end | |
(in an open source repo/gem) | |
module BrighterPlanet | |
module Automobile | |
def self.included(base) | |
base.decide :emission do | |
[...] | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment