Class: Ocran::BuildFacade

Inherits:
Object
  • Object
show all
Defined in:
lib/ocran/build_facade.rb

Instance Method Summary collapse

Constructor Details

#initialize(filer, launcher) ⇒ BuildFacade

Returns a new instance of BuildFacade.



5
6
7
# File 'lib/ocran/build_facade.rb', line 5

def initialize(filer, launcher)
  @filer, @launcher = filer, launcher
end

Instance Method Details

#cpObject



11
# File 'lib/ocran/build_facade.rb', line 11

def cp(...) = @filer.__send__(__method__, ...)

#execObject



15
# File 'lib/ocran/build_facade.rb', line 15

def exec(...) = @launcher.__send__(__method__, ...)

#exportObject



13
# File 'lib/ocran/build_facade.rb', line 13

def export(...) = @launcher.__send__(__method__, ...)

#mkdirObject



9
# File 'lib/ocran/build_facade.rb', line 9

def mkdir(...) = @filer.__send__(__method__, ...)