Flowdock
method

[]

Importance_0
Ruby latest stable (v1_9_3_392) - 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.