Sha256: 4c3a334f053c2d36a2c0584c9b0fb84ffa13046d020146f223a37595fac731c7
Contents?: true
Size: 526 Bytes
Versions: 9
Compression:
Stored size: 526 Bytes
Contents
class Eye::Dsl::GroupOpts < Eye::Dsl::Opts include Eye::Dsl::Chain def disallow_options [:pid_file, :start_command] end def process(name, &block) Eye::Dsl.debug "=> process #{name}" opts = Eye::Dsl::ProcessOpts.new(name, self) opts.instance_eval(&block) @config[:processes] ||= {} @config[:processes][name.to_s] = opts.config if opts.config Eye::Dsl.debug "<= process #{name}" end def xprocess(name, &block); end def application parent end alias :app :application end
Version data entries
9 entries across 9 versions & 2 rubygems