Class: Hashematics::ObjectInterface
- Inherits:
-
Object
- Object
- Hashematics::ObjectInterface
- Defined in:
- lib/hashematics/object_interface.rb
Overview
ObjectInterface allows us to interact with external objects in a more standardized manner. For example: configuration and objects passed into the module can be a little more liberal in their specific types and key types.
Class Method Summary collapse
Class Method Details
.get(object, key) ⇒ Object
16 17 18 |
# File 'lib/hashematics/object_interface.rb', line 16 def get(object, key) resolver.get(object, key) end |