Handle a call to the command line with no arguments.
This commit is contained in:
parent
8b5868ca00
commit
4c4cc0e55f
@ -10,7 +10,7 @@ module Compass::Commands
|
||||
end
|
||||
def command_exists?(name)
|
||||
@commands ||= Hash.new
|
||||
@commands.has_key?(name.to_sym)
|
||||
name && @commands.has_key?(name.to_sym)
|
||||
end
|
||||
def all
|
||||
@commands.keys
|
||||
|
Loading…
Reference in New Issue
Block a user