class Overapp::ProjectConfig

Attributes

base_ops[RW]
body[RW]

Public Instance Methods

base(*args) click to toggle source
# File lib/overapp/project/config.rb, line 8
def base(*args)
  overapp(*args)
end
command(cmd,ops={}) click to toggle source
# File lib/overapp/project/config.rb, line 20
def command(cmd,ops={})
  self.overapps << ConfigEntry.new(:descriptor => cmd, :type => :command, :entry_ops => ops)
end
load!() click to toggle source
# File lib/overapp/project/config.rb, line 28
def load!
  c = self
  eval(body)
end
overapp(name,ops={}) click to toggle source
# File lib/overapp/project/config.rb, line 12
def overapp(name,ops={})
  self.overapps << ConfigEntry.new(:descriptor => name, :type => :overapp)
end
overlay(*args) click to toggle source
# File lib/overapp/project/config.rb, line 16
def overlay(*args)
  overapp(*args)
end
var(k,v) click to toggle source
# File lib/overapp/project/config.rb, line 24
def var(k,v)
  vars[k] = v
end