Skip to content

Instantly share code, notes, and snippets.

@seamusabshere
Created June 10, 2010 18:55
Show Gist options
  • Save seamusabshere/433456 to your computer and use it in GitHub Desktop.
Save seamusabshere/433456 to your computer and use it in GitHub Desktop.
(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