module Nginxbrew

Constants

VERSION

Attributes

config[RW]

Public Class Methods

configure() { |config| ... } click to toggle source
# File lib/nginxbrew/config/base.rb, line 7
def self.configure
    yield config
end
run(command, env={}) click to toggle source
# File lib/nginxbrew.rb, line 12
def run(command, env={})
    env.each{|k, v| ENV[k] = v }
    require "nginxbrew/tasks"
    Rake::Task[command].invoke
end

Private Instance Methods

run(command, env={}) click to toggle source
# File lib/nginxbrew.rb, line 12
def run(command, env={})
    env.each{|k, v| ENV[k] = v }
    require "nginxbrew/tasks"
    Rake::Task[command].invoke
end