module AttrStatements::InstanceMethods

Private Instance Methods

get_statement_value(key) click to toggle source
# File lib/attr_statements.rb, line 19
def get_statement_value(key)
  instance_variable_get("@#{key}")
end
set_statement_value(key, value) click to toggle source
# File lib/attr_statements.rb, line 23
def set_statement_value(key, value)
  instance_variable_set("@#{key}", value)
end