class Infoboxer::Templates::Replace

Replaces template with replacement, while rendering.

Used for {Set} definitions.

Public Instance Methods

replace() click to toggle source
# File lib/infoboxer/templates/base.rb, line 55
def replace
  fail(NotImplementedError, 'Descendants should define :replace')
end
text() click to toggle source
# File lib/infoboxer/templates/base.rb, line 59
def text
  replace
end