Parent

Class/Module Index [+]

Quicksearch

Hash

Public Class Methods

[](*args) click to toggle source
Also aliased as: create_186
Alias for: create
create(*args) click to toggle source
# File lib/yard/core_ext/hash.rb, line 3
def create(*args)
  if args.first.is_a?(Array) && args.size == 1
    obj = new
    args.first.each {|k, v| obj[k] = v }
    obj
  else
    create_186(*args)
  end
end
Also aliased as: []
create_186(*args) click to toggle source
Alias for: []

[Validate]

Generated with the Darkfish Rdoc Generator 2.