lib/igp/shell.rb in igp-0.0.2 vs lib/igp/shell.rb in igp-0.0.3
- old
+ new
@@ -16,10 +16,10 @@
#
def initialize(options,args)
defaults = {
:interval => 1
}
- @options = defaults.merge( (options||{}).each{|k|k} )
+ @options = defaults.merge( (options||{}).each{|k,v| {k => v} } )
return unless args.first
resolve_addressing args.first
normalise_options
end
\ No newline at end of file