Class: Raw::StandardMorpher

Inherits:
Morpher
  • Object
show all
Defined in:
lib/raw/compiler/filter/morph/standard.rb

Overview

A useful super class for Morphers.

Direct Known Subclasses

IfMorpher, SelectedIfMorpher, TimesMorpher

Instance Attribute Summary

Attributes inherited from Morpher

#attributes, #key, #name, #value

Instance Method Summary collapse

Methods inherited from Morpher

#after_start, #before_end, #before_start, #initialize

Constructor Details

This class inherits a constructor from Raw::Morpher

Instance Method Details

#after_end(buffer) ⇒ Object



49
50
51
52
# File 'lib/raw/compiler/filter/morph/standard.rb', line 49

def after_end(buffer)
  # gmosx: leave the leading space.
  buffer << " <?r end ?>"
end