lib/ronin/ui/cli/cli.rb in ronin-1.4.1 vs lib/ronin/ui/cli/cli.rb in ronin-1.5.0.rc1
- old
+ new
@@ -49,10 +49,10 @@
#
def CLI.commands
if @commands.empty?
commands_dir = File.join('lib',Commands.namespace_root)
- Installation.each_file_in(commands_dir,:rb) do |path|
+ Installation.each_file_in(commands_dir,'rb') do |path|
# remove the .rb file extension
name = path.chomp('.rb')
# replace any file separators with a ':', to mimic the
# naming convention of Rake/Thor.