Class: SimpleCommander::HelpFormatter::TerminalCompact
- Defined in:
- lib/simple_commander/help_formatters/terminal_compact.rb
Instance Method Summary collapse
Methods inherited from Terminal
Methods inherited from Base
#initialize, #render, #render_command
Constructor Details
This class inherits a constructor from SimpleCommander::HelpFormatter::Base
Instance Method Details
#template(name) ⇒ Object
6 7 8 |
# File 'lib/simple_commander/help_formatters/terminal_compact.rb', line 6 def template(name) ERB.new(File.read(File.join(File.dirname(__FILE__), 'terminal_compact', "#{name}.erb")), nil, '-') end |