Class: Qrpm::Fragment::FragmentContainer

Inherits:
Fragment
  • Object
show all
Defined in:
lib/qrpm/fragment.rb

Overview

Common code for CommandFragment and Expression

Direct Known Subclasses

CommandFragment, Expression

Instance Attribute Summary

Attributes inherited from Fragment

#fragments, #source

Instance Method Summary collapse

Methods inherited from Fragment

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

Constructor Details

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

Instance Method Details

#interpolate(dict) ⇒ Object



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

def interpolate(dict) fragments.map { |f| f.interpolate(dict) }.flatten.join end