Class: Rootage::TextHelp
Constant Summary
Constants inherited from Help
Instance Attribute Summary
Attributes inherited from Help
Instance Method Summary collapse
Methods inherited from Help
Constructor Details
This class inherits a constructor from Rootage::Help
Instance Method Details
#to_s ⇒ Object
115 116 117 118 |
# File 'lib/rootage/help.rb', line 115 def to_s src = File.read(File.join(File.dirname(__FILE__), "help.txt.erb")) ERB.new(src, nil, "-").result(binding) end |