module PogoPlug::HashInitializer
Public Class Methods
new(*h)
click to toggle source
# File lib/pogoplug/hash_initializer.rb, line 3 def initialize(*h) if h.length == 1 && h.first.kind_of?(Hash) h.first.each { |k,v| send("#{k}=",v) } end end