Class: FsTemplate::ProjectConfig

Inherits:
Object
  • Object
show all
Includes:
FromHash
Defined in:
lib/fs_template/project.rb

Instance Attribute Summary collapse

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

#bodyObject

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 overlay(name)
  self.overlays << name
end