Class: Representative::ObjectInspector

Inherits:
Object
  • Object
show all
Defined in:
lib/representative/object_inspector.rb

Instance Method Summary collapse

Instance Method Details

#get_metadata(object, attribute_name) ⇒ Object



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

def (object, attribute_name)
  {}
end

#get_value(object, attribute_name) ⇒ Object



5
6
7
# File 'lib/representative/object_inspector.rb', line 5

def get_value(object, attribute_name)
  object.send(attribute_name)
end