Module: FlexCompiler::ClassMethods
- Defined in:
- lib/flex_compiler.rb
Overview
Class Methods
Instance Method Summary collapse
Instance Method Details
#artifact(type, path_fragment) ⇒ Object
19 20 21 |
# File 'lib/flex_compiler.rb', line 19 def artifact(type, path_fragment) (@artifacts ||= {})[type.to_sym] = path_fragment end |
#artifact_path(type) ⇒ Object
23 24 25 |
# File 'lib/flex_compiler.rb', line 23 def artifact_path(type) File.join(FlexCompiler.artifact_root,@artifacts[type.to_sym]) end |