Class: Rubuild::Build::Simple::Factory

Inherits:
Object
  • Object
show all
Defined in:
lib/rubuild/build/simple/factory.rb

Instance Method Summary collapse

Instance Method Details

#create_contextObject



5
6
7
# File 'lib/rubuild/build/simple/factory.rb', line 5

def create_context
  Rubuild::Build::Simple::Context.new
end

#create_dep(command, disp, *args) ⇒ Object



9
10
11
12
13
# File 'lib/rubuild/build/simple/factory.rb', line 9

def create_dep(command, disp, *args)
  dep = Rubuild::Build::Simple::Dep.new(command, disp)
  dep.args = args
  dep
end