Permalink
Browse files

Ignore nil arguments in command

  • Loading branch information...
1 parent 0db4d75 commit 1983a5962bbf9e5f414932da55aa2e24e478dcd6 @gdb committed Dec 21, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/rubysh/command.rb
View
@@ -26,6 +26,8 @@ def process_args
when Hash
@opts.merge!(arg)
nil
+ when nil
+ nil
else
arg.to_s
end

0 comments on commit 1983a59

Please sign in to comment.