class FsTemplate::ProjectConfig
Attributes
base[RW]
base_ops[RW]
body[RW]
Public Instance Methods
command(cmd,phase=:after)
click to toggle source
# File lib/fs_template/project.rb, line 98 def command(cmd,phase=:after) self.commands << {:command => cmd, :phase => phase} end
load!()
click to toggle source
# File lib/fs_template/project.rb, line 102 def load! c = self eval(body) end
overlay(name)
click to toggle source
# File lib/fs_template/project.rb, line 94 def overlay(name) self.overlays << name end