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] }"
|
line = " #{ guard[:name] }"
|
||||||
|
|
||||||
unless guard[:options].empty?
|
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
|
end
|
||||||
|
|
||||||
UI.info line
|
UI.info line
|
||||||
|
Loading…
Reference in New Issue
Block a user