Class: WwwRb
- Inherits:
-
Thor
- Object
- Thor
- WwwRb
- Includes:
- Thor::Actions
- Defined in:
- lib/wdk/www_rb/www_rb.rb
Instance Method Summary collapse
- #init ⇒ Object
-
#initialize(args = [], options = {}, config = {}) ⇒ WwwRb
constructor
A new instance of WwwRb.
- #new(name) ⇒ Object
Constructor Details
#initialize(args = [], options = {}, config = {}) ⇒ WwwRb
Returns a new instance of WwwRb.
4 5 6 7 |
# File 'lib/wdk/www_rb/www_rb.rb', line 4 def initialize(args=[], ={}, config={}) super self.destination_root= "" end |
Instance Method Details
#init ⇒ Object
10 11 12 |
# File 'lib/wdk/www_rb/www_rb.rb', line 10 def init directory :templates, :www end |
#new(name) ⇒ Object
15 16 17 |
# File 'lib/wdk/www_rb/www_rb.rb', line 15 def new name directory :templates, name.to_sym end |