class Rouge::Lexers::PlainText

Public Instance Methods

stream_tokens(string) { |token, string| ... } click to toggle source
# File lib/rouge/lexers/plain_text.rb, line 19
def stream_tokens(string, &b)
  yield self.token, string
end
token() click to toggle source
# File lib/rouge/lexers/plain_text.rb, line 15
def token
  @token ||= Token[option :token]
end