Class: Filament::BuildContext

Inherits:
ExecutionContext show all
Defined in:
lib/filament/context.rb

Instance Attribute Summary

Attributes inherited from ExecutionContext

#wrapper

Instance Method Summary collapse

Methods inherited from ExecutionContext

#execute, #wrap

Constructor Details

#initialize(package) ⇒ BuildContext

Returns a new instance of BuildContext.



39
40
41
42
43
44
# File 'lib/filament/context.rb', line 39

def initialize(package)
  super(package)

  @context[:working_dir] = @package.working_dir
  @context[:output_dir] = @package.output_dir
end