Flowdock
method

[]

Importance_0
v1_8_6_287 - Show latest stable - 0 notes - Class: YAML::Omap
[]( *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 100
        def self.[]( *vals )
            o = Omap.new
            0.step( vals.length - 1, 2 ) do |i|
                o[vals[i]] = vals[i+1]
            end
            o
        end
Register or log in to add new notes.