Class: Avm::Tools::Runner::Instance::Entry
- Inherits:
-
Object
- Object
- Avm::Tools::Runner::Instance::Entry
- Defined in:
- lib/avm/tools/runner/instance/entry.rb
Instance Method Summary collapse
Instance Method Details
#debug ⇒ Object
25 26 27 28 29 |
# File 'lib/avm/tools/runner/instance/entry.rb', line 25 def debug return unless parsed.debug? parsed.envvar_suffix.map { |entry_key| debug_entry(entry_key) } end |
#debug_entry(entry_key) ⇒ Object
31 32 33 34 35 36 37 38 |
# File 'lib/avm/tools/runner/instance/entry.rb', line 31 def debug_entry(entry_key) infov 'Entry key', entry_key e = instance.entry(entry_key) infov ' * Type', e.class infov ' * Full path', e.full_path infov ' * Found?', e.context_found? infov ' * Value', e.value end |
#output_content ⇒ Object
21 22 23 |
# File 'lib/avm/tools/runner/instance/entry.rb', line 21 def output_content parsed.envvar_suffix.map { |entry_key| "#{instance.entry(entry_key).value}\n" }.join end |
#run ⇒ Object
16 17 18 19 |
# File 'lib/avm/tools/runner/instance/entry.rb', line 16 def run debug run_output end |