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.
54 55 56 |
# File 'lib/fs_template/project.rb', line 54 def base @base end |
#body ⇒ Object
Returns the value of attribute body.
54 55 56 |
# File 'lib/fs_template/project.rb', line 54 def body @body end |
Instance Method Details
#load! ⇒ Object
69 70 71 72 |
# File 'lib/fs_template/project.rb', line 69 def load! c = self eval(body) end |
#overlay(name) ⇒ Object
65 66 67 |
# File 'lib/fs_template/project.rb', line 65 def (name) self. << name end |