# File lib/goocanvas.rb, line 29 def init_props(*args) hash = Goo.args_to_hash(args) hash.each_pair { |key, value| set_property(key.to_s.gsub(/-/, '_').to_sym, value) } end