class Hashematics::ObjectInterface

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.

Public Class Methods

get(object, key) click to toggle source
# File lib/hashematics/object_interface.rb, line 16
def get(object, key)
  resolver.get(object, key)
end

Private Class Methods

resolver() click to toggle source
# File lib/hashematics/object_interface.rb, line 22
def resolver
  @resolver ||= Objectable.resolver(separator: nil)
end