Class: Izzup::IzzupArguments
- Inherits:
-
Hash
- Object
- Hash
- Izzup::IzzupArguments
- Defined in:
- lib/izzup/izzup_arguments.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ IzzupArguments
constructor
A new instance of IzzupArguments.
Constructor Details
#initialize(args) ⇒ IzzupArguments
Returns a new instance of IzzupArguments.
5 6 7 8 |
# File 'lib/izzup/izzup_arguments.rb', line 5 def initialize(args) [args].each{|a|add_item(a)} self end |