Sort the Guard options when describe the DSL.
This commit is contained in:
parent
4451d73583
commit
a1e5723efe
@ -91,7 +91,7 @@ module Guard
|
||||
line = " #{ guard[:name] }"
|
||||
|
||||
unless guard[:options].empty?
|
||||
line += ": #{ guard[:options].collect { |k, v| "#{ k } => #{ v.inspect }" }.join(', ') }"
|
||||
line += ": #{ guard[:options].sort.collect { |k, v| "#{ k } => #{ v.inspect }" }.join(', ') }"
|
||||
end
|
||||
|
||||
UI.info line
|
||||
|
Loading…
Reference in New Issue
Block a user