Flowdock
method

[]

Importance_0
v1_8_7_72 - Show latest stable - 0 notes - Class: YAML::Pairs
[]( *vals ) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/yaml/types.rb, line 155
        def self.[]( *vals )
            p = Pairs.new
            0.step( vals.length - 1, 2 ) { |i|
                p[vals[i]] = vals[i+1]
            }
            p
        end
Register or log in to add new notes.