Class: Climate::Help::Man
- Inherits:
-
Object
- Object
- Climate::Help::Man
- Defined in:
- lib/climate/help/man.rb
Overview
can produce a troff file suitable for man
Defined Under Namespace
Instance Attribute Summary collapse
-
#command_class ⇒ Object
readonly
Returns the value of attribute command_class.
Instance Method Summary collapse
-
#initialize(command_class, options = {}) ⇒ Man
constructor
A new instance of Man.
- #print ⇒ Object
Constructor Details
#initialize(command_class, options = {}) ⇒ Man
Returns a new instance of Man.
95 96 97 98 99 |
# File 'lib/climate/help/man.rb', line 95 def initialize(command_class, ={}) @command_class = command_class @output = [:output] || $stdout @template_file = [:template_file] end |
Instance Attribute Details
#command_class ⇒ Object (readonly)
Returns the value of attribute command_class.
93 94 95 |
# File 'lib/climate/help/man.rb', line 93 def command_class @command_class end |