Class: FsTemplate::ProjectConfig
- Inherits:
-
Object
- Object
- FsTemplate::ProjectConfig
- Includes:
- FromHash
- Defined in:
- lib/fs_template/project.rb
Instance Attribute Summary collapse
-
#base(*args) ⇒ Object
Returns the value of attribute base.
-
#body ⇒ Object
Returns the value of attribute body.
Instance Method Summary collapse
Instance Attribute Details
#base(*args) ⇒ Object
Returns the value of attribute base.
56 57 58 |
# File 'lib/fs_template/project.rb', line 56 def base @base end |
#body ⇒ Object
Returns the value of attribute body.
56 57 58 |
# File 'lib/fs_template/project.rb', line 56 def body @body end |
Instance Method Details
#load! ⇒ Object
71 72 73 74 |
# File 'lib/fs_template/project.rb', line 71 def load! c = self eval(body) end |
#overlay(name) ⇒ Object
67 68 69 |
# File 'lib/fs_template/project.rb', line 67 def (name) self. << name end |