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
|
end
|
||||||
def command_exists?(name)
|
def command_exists?(name)
|
||||||
@commands ||= Hash.new
|
@commands ||= Hash.new
|
||||||
@commands.has_key?(name.to_sym)
|
name && @commands.has_key?(name.to_sym)
|
||||||
end
|
end
|
||||||
def all
|
def all
|
||||||
@commands.keys
|
@commands.keys
|
||||||
|
Loading…
Reference in New Issue
Block a user