Class: HashOut::Hasher
- Inherits:
-
Struct
- Object
- Struct
- HashOut::Hasher
- Extended by:
- Forwardable
- Defined in:
- lib/hash_out/hasher.rb
Instance Attribute Summary collapse
-
#call_registry ⇒ Object
Returns the value of attribute call_registry.
-
#object ⇒ Object
Returns the value of attribute object.
Instance Method Summary collapse
Instance Attribute Details
#call_registry ⇒ Object
Returns the value of attribute call_registry
5 6 7 |
# File 'lib/hash_out/hasher.rb', line 5 def call_registry @call_registry end |
#object ⇒ Object
Returns the value of attribute object
5 6 7 |
# File 'lib/hash_out/hasher.rb', line 5 def object @object end |
Instance Method Details
#object_to_hash ⇒ Object
10 11 12 13 14 |
# File 'lib/hash_out/hasher.rb', line 10 def object_to_hash prepare_hashable_methods delete_excluded_methods Hash[hashable_method_value_pairs] end |