In: |
yaml/rubytypes.rb
|
Parent: | Array |
Ruby-specific collection: !ruby/flexhash
# File yaml/rubytypes.rb, line 100 def []=( k, *rest ) val, set = rest.reverse if ( tmp = self.assoc( k ) ) and not set tmp[1] = val else self << [ k, val ] end val end