Class: Serializer::HashValue
Instance Method Summary collapse
Methods inherited from Value
Constructor Details
This class inherits a constructor from Serializer::Value
Instance Method Details
#precondition? ⇒ Boolean
42 43 44 |
# File 'lib/serializer/value.rb', line 42 def precondition? @scope.is_a?(Hash) end |
#value ⇒ Object
46 47 48 |
# File 'lib/serializer/value.rb', line 46 def value @scope[extraction_key] end |