Class: Qrpm::Fragment::CommandVariableFragment

Inherits:
VariableFragment show all
Defined in:
lib/qrpm/fragment.rb

Overview

${NAME} in $(COMMAND) interpolations

Instance Attribute Summary

Attributes inherited from VariableFragment

#name

Attributes inherited from Fragment

#fragments, #source

Instance Method Summary collapse

Methods inherited from VariableFragment

#initialize, #variables

Methods inherited from Fragment

#initialize, #is_nil?, parse, #signature, #to_s, #variables

Constructor Details

This class inherits a constructor from Qrpm::Fragment::VariableFragment

Instance Method Details

#interpolate(dict) ⇒ Object

FIXME: Proper shell escape



135
# File 'lib/qrpm/fragment.rb', line 135

def interpolate(dict) dict[name] end