lib/wod/commands/help.rb in wod-0.0.1 vs lib/wod/commands/help.rb in wod-0.0.2
- old
+ new
@@ -47,9 +47,12 @@
def index
puts usage
end
def usage
+ puts "wod v#{Wod::VERSION}"
+ puts
+
longest_command_length = self.class.groups.map do |group|
group.map { |g| g.first.length }
end.flatten.max
self.class.groups.inject(StringIO.new) do |output, group|
\ No newline at end of file