Method: Gem::SafeMarshal::Elements::HashWithDefaultValue#initialize
- Defined in:
- lib/rubygems/safe_marshal/elements.rb
#initialize(pairs, default) ⇒ HashWithDefaultValue
Returns a new instance of HashWithDefaultValue.
51 52 53 54 |
# File 'lib/rubygems/safe_marshal/elements.rb', line 51 def initialize(pairs, default) super(pairs) @default = default end |