Parent

Class/Module Index [+]

Quicksearch

Rabbit::Parser::Wiki::RabbitOutput::InlinePlugin

Public Class Methods

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

Public Instance Methods

br() click to toggle source
# File lib/rabbit/parser/wiki/output.rb, line 391
def br
  Text.new("\n")
end
code_point(code_point, *rest) click to toggle source
# File lib/rabbit/parser/wiki/output.rb, line 371
def code_point(code_point, *rest)
  @private.pack(Text.new([code_point].pack("U")), *rest)
end
e(entity, *rest) click to toggle source
Alias for: entity
entity(entity, *rest) click to toggle source
# File lib/rabbit/parser/wiki/output.rb, line 364
def entity(entity, *rest)
  return nil unless TABLE.include?(entity)

  @private.pack(Text.new(TABLE[entity]), *rest)
end
Also aliased as: e
lang(lang, text, *rest) click to toggle source
# File lib/rabbit/parser/wiki/output.rb, line 387
def lang(lang, text, *rest)
  super(lang, @private.pack(text, *rest))
end
note(text, *rest) click to toggle source
# File lib/rabbit/parser/wiki/output.rb, line 383
def note(text, *rest)
  super(@private.pack(text, *rest))
end
sub(text, *rest) click to toggle source
# File lib/rabbit/parser/wiki/output.rb, line 375
def sub(text, *rest)
  super(@private.pack(text, *rest))
end
sup(text, *rest) click to toggle source
# File lib/rabbit/parser/wiki/output.rb, line 379
def sup(text, *rest)
  super(@private.pack(text, *rest))
end
tag(name, text=nil, *rest) click to toggle source
# File lib/rabbit/parser/wiki/output.rb, line 399
def tag(name, text=nil, *rest)
  if text
    CustomTag.new(name, @private.pack(text, *rest))
  else
    CustomTag.new(name)
  end
end
wait() click to toggle source
# File lib/rabbit/parser/wiki/output.rb, line 395
def wait
  WaitTag.new
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.