Module: Representable::ClassMethods::Accessors

Defined in:
lib/representable.rb

Instance Method Summary collapse

Instance Method Details

#representable_attrsObject



132
133
134
# File 'lib/representable.rb', line 132

def representable_attrs
  @representable_attrs ||= Config.new
end

#representation_wrap=(name) ⇒ Object



136
137
138
# File 'lib/representable.rb', line 136

def representation_wrap=(name)
  representable_attrs.wrap = name
end