module Further::Core::ClassMethods

Public Instance Methods

further(name, options = {}) click to toggle source
# File lib/further/core.rb, line 11
def further(name, options = {})
  has_one :further_information, as: :furtherable
  include Core::LocalInstanceMethods
  alias_method name, :further_info
  alias_method "#{name}=", :further_info
  attr_accessible name
end