Class: Cuprum::Cli::Commands::File::ResolveTemplate
- Inherits:
-
Cuprum::Command
- Object
- Cuprum::Command
- Cuprum::Cli::Commands::File::ResolveTemplate
- Defined in:
- lib/cuprum/cli/commands/file/resolve_template.rb
Overview
Utility command for resolving a template and parameterized values.
Instance Attribute Summary collapse
-
#templates ⇒ Array<Hash>
readonly
The defined templates.
Instance Method Summary collapse
-
#initialize(templates:) ⇒ ResolveTemplate
constructor
A new instance of ResolveTemplate.
Constructor Details
#initialize(templates:) ⇒ ResolveTemplate
Returns a new instance of ResolveTemplate.
12 13 14 15 16 |
# File 'lib/cuprum/cli/commands/file/resolve_template.rb', line 12 def initialize(templates:) super() @templates = templates end |
Instance Attribute Details
#templates ⇒ Array<Hash> (readonly)
Returns the defined templates.
19 20 21 |
# File 'lib/cuprum/cli/commands/file/resolve_template.rb', line 19 def templates @templates end |