class Airborne::OptionalHashTypeExpectations
Attributes
hash[RW]
Public Class Methods
new(hash)
click to toggle source
# File lib/airborne/optional_hash_type_expectations.rb, line 5 def initialize(hash) @hash = hash end
Public Instance Methods
[](val)
click to toggle source
# File lib/airborne/optional_hash_type_expectations.rb, line 15 def [](val) @hash[val] end
each() { |k, v| ... }
click to toggle source
# File lib/airborne/optional_hash_type_expectations.rb, line 9 def each @hash.each do|k, v| yield(k, v) end end
keys()
click to toggle source
# File lib/airborne/optional_hash_type_expectations.rb, line 19 def keys @hash.keys end