Module: Orphanage
- Defined in:
- lib/orphanage.rb,
lib/generators/orphanage/init_generator.rb
Defined Under Namespace
Modules: ClassMethods, Methods Classes: InitGenerator
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
2 3 4 5 6 |
# File 'lib/orphanage.rb', line 2 def self.included(klass) klass.send(:include, Orphanage::Methods) klass.send(:extend, Orphanage::ClassMethods) end |