Class: Pwl::Commands::Stats
Instance Method Summary collapse
Methods inherited from Base
default_locker_file, exit_codes_help
Instance Method Details
#call(args, options) ⇒ Object
34 35 36 37 38 39 40 41 42 |
# File 'lib/pwl/commands/stats.rb', line 34 def call(args, ) locker = open_locker() begin puts presenter(.format).present(locker) rescue exit_with(:unknown_format, .verbose, :format => .format) end end |