class Rouge::Lexers::Lasso

Attributes

keywords[R]

Public Class Methods

detect?(text) click to toggle source
# File lib/rouge/lexers/lasso.rb, line 17
def self.detect?(text)
  return true if text.shebang?('lasso9')
  return true if text =~ /\A.*?<\?(lasso(script)?|=)/
end
new(*) click to toggle source
Calls superclass method
# File lib/rouge/lexers/lasso.rb, line 22
def initialize(*)
  super

  @start_inline = bool_option(:start_inline)
end

Public Instance Methods

start_inline?() click to toggle source
# File lib/rouge/lexers/lasso.rb, line 28
def start_inline?
  @start_inline
end