lib/bovem/application.rb in bovem-3.0.2 vs lib/bovem/application.rb in bovem-3.0.3
- old
+ new
@@ -150,9 +150,9 @@
# Fetch a command list for showing help.
#
# @param command [Command] The command to show help for.
def fetch_commands_for_help(command)
- command.arguments.collect {|c| c.split(":") }.flatten.collect(&:strip).select(&:present?)
+ command.arguments.map {|c| c.split(":") }.flatten.map(&:strip).select(&:present?)
end
end
end
\ No newline at end of file