Class: LazyRecords::Record

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/record.rb

Instance Method Summary collapse

Instance Method Details

#get_hashObject



9
10
11
# File 'lib/record.rb', line 9

def get_hash
  self.instance_variable_get("@table")
end

#get_keywordsObject



13
14
15
# File 'lib/record.rb', line 13

def get_keywords
  get_hash.keys
end

#get_valuesObject



17
18
19
# File 'lib/record.rb', line 17

def get_values
  get_hash.values
end