Class: Bookbinder::UsageMessenger

Inherits:
Object
  • Object
show all
Defined in:
lib/bookbinder/usage_messenger.rb

Instance Method Summary collapse

Instance Method Details

#construct_for(commands, flags) ⇒ Object



4
5
6
# File 'lib/bookbinder/usage_messenger.rb', line 4

def construct_for commands, flags
  log_usage_header + "\n" + flag_usage_messages(flags) + command_usage_messages(commands)
end