Class: Rubuild::Build::Factory::ProtocolClass

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

Overview

Used to derive Rubuild::Build::Factory

Instance Method Summary collapse

Instance Method Details

#create_contextObject

Create a Rubuild::BuildContext object.

return

A new Rubuild::BuildContext for executing Rubuild::Dep dependencies.



15
16
# File 'lib/rubuild/build/factory.rb', line 15

def create_context
end

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

Create a Rubuild::Dep object.

command

command argument to Rubuild::Dep#new.

disp

disp argument to Rubuild::Dep#new.

args

Additional arguments to be passed to command.

return

A new Rubuild::Dep for executing command.



23
24
# File 'lib/rubuild/build/factory.rb', line 23

def create_dep(command, disp, *args)
end