class Rabbit::Parser::Wiki::RabbitOutput::InlinePlugin::Private

Public Class Methods

new(output) click to toggle source
# File lib/rabbit/parser/wiki/output.rb, line 437
def initialize(output)
  @output = output
end

Public Instance Methods

pack(text, *rest) click to toggle source
# File lib/rabbit/parser/wiki/output.rb, line 441
def pack(text, *rest)
  text = @output.text(text) unless text.is_a?(Element::Base)
  if rest.empty?
    text
  else
    TextContainer.new([text, *rest])
  end
end