lib/rcmdr/command.rb in rcmdr-0.1.0.pre.alpha vs lib/rcmdr/command.rb in rcmdr-0.1.1.pre.alpha
- old
+ new
@@ -98,10 +98,10 @@
def commands
@commands ||= {}
end
def help
- commands.each do |_command, command_data|
+ commands.each_value do |command_data|
puts "#{command_namespaces.join(' ')} #{command_data[:help]}"
end
end
end
end