module NoBrainer::Document::DynamicAttributes

Public Instance Methods

read_attribute(name) click to toggle source
Calls superclass method
# File lib/no_brainer/document/dynamic_attributes.rb, line 4
def read_attribute(name)
  self.respond_to?("#{name}") ? super : _read_attribute(name)
end
readable_attributes() click to toggle source
# File lib/no_brainer/document/dynamic_attributes.rb, line 12
def readable_attributes
  @_attributes.keys
end
write_attribute(name, value) click to toggle source
Calls superclass method
# File lib/no_brainer/document/dynamic_attributes.rb, line 8
def write_attribute(name, value)
  self.respond_to?("#{name}=") ? super : _write_attribute(name, value)
end