Class: RubyHtmlApp::FileGenerator
- Inherits:
-
Templater::Generator
- Object
- Templater::Generator
- RubyHtmlApp::FileGenerator
- Defined in:
- lib/rubyhtmlapp/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(target, args) ⇒ FileGenerator
constructor
A new instance of FileGenerator.
Constructor Details
#initialize(target, args) ⇒ FileGenerator
Returns a new instance of FileGenerator.
7 8 9 10 |
# File 'lib/rubyhtmlapp/cli.rb', line 7 def initialize(target, args) @params = args super(target) end |
Class Method Details
.source_root ⇒ Object
12 13 14 |
# File 'lib/rubyhtmlapp/cli.rb', line 12 def self.source_root File.join(File.dirname(__FILE__), 'templates') end |