Class: Simmer::Specification::Act::Params
- Inherits:
-
Object
- Object
- Simmer::Specification::Act::Params
- Defined in:
- lib/simmer/specification/act/params.rb
Overview
Understands how to compile a list of files and key value pairs for Pdi::Spoon consumption.
Instance Attribute Summary collapse
-
#files ⇒ Object
readonly
Returns the value of attribute files.
-
#keys ⇒ Object
readonly
Returns the value of attribute keys.
Instance Method Summary collapse
- #compile(files_path, config = {}) ⇒ Object
-
#initialize(files: {}, keys: {}) ⇒ Params
constructor
A new instance of Params.
Constructor Details
Instance Attribute Details
#files ⇒ Object (readonly)
Returns the value of attribute files.
18 19 20 |
# File 'lib/simmer/specification/act/params.rb', line 18 def files @files end |
#keys ⇒ Object (readonly)
Returns the value of attribute keys.
18 19 20 |
# File 'lib/simmer/specification/act/params.rb', line 18 def keys @keys end |
Instance Method Details
#compile(files_path, config = {}) ⇒ Object
28 29 30 |
# File 'lib/simmer/specification/act/params.rb', line 28 def compile(files_path, config = {}) compiled_file_params(files_path, config).merge(compiled_key_params(config)) end |