Module: Mona::Result::Dict::ReadInterface
Overview
Dict read interface
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
18 |
# File 'lib/mona/result/dict.rb', line 18 def [](key) = to_h[key] |
#fetch(key) ⇒ Object
22 |
# File 'lib/mona/result/dict.rb', line 22 def fetch(key) = to_h.fetch(key) |
#key?(key) ⇒ Boolean
20 |
# File 'lib/mona/result/dict.rb', line 20 def key?(key) = to_h.key?(key) |