Module: InheritedResources::Helpers::Accessors
- Defined in:
- lib/inherited_resources/helpers/accessors.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 |
# File 'lib/inherited_resources/helpers/accessors.rb', line 4 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#initialize ⇒ Object
55 56 57 58 |
# File 'lib/inherited_resources/helpers/accessors.rb', line 55 def initialize(*) self.class.define_resource_accessors(self) super end |