Module: Further::Core::ClassMethods
- Defined in:
- lib/further/core.rb
Instance Method Summary collapse
Instance Method Details
#further(name, options = {}) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/further/core.rb', line 11 def further(name, = {}) has_one :further_information, as: :furtherable include Core::LocalInstanceMethods alias_method name, :further_info alias_method "#{name}=", :further_info attr_accessible name end |