Module: Soybean::ComplexType::InstanceMethods
- Defined in:
- lib/soybean/complex_type.rb
Instance Method Summary collapse
Instance Method Details
#initialize(*args) ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/soybean/complex_type.rb', line 10 def initialize(*args) hash = args. if args.empty? init_from_hash(hash) else init_from_array(args) end end |