Class: WithEase::ClosedStruct
- Inherits:
-
Object
- Object
- WithEase::ClosedStruct
- Extended by:
- Forward
- Includes:
- HashApi
- Defined in:
- lib/with_ease/closed_struct.rb,
lib/with_ease/closed_struct/hash_api.rb
Defined Under Namespace
Modules: HashApi
Instance Method Summary collapse
-
#==(other) ⇒ Object
@data.fetch(key, *defauts, &blk) end.
Methods included from Forward
Methods included from HashApi
Instance Method Details
#==(other) ⇒ Object
@data.fetch(key, *defauts, &blk) end
23 24 25 |
# File 'lib/with_ease/closed_struct.rb', line 23 def ==(other) other.is_a?(self.class) && to_h == other.to_h end |