vendor/bundle/ruby/2.1.0/gems/rugments-1.0.0.beta3/lib/rugments/template_lexer.rb
# the parent lexer - the one being templated.
the parent lexer - the one being templated.
the parent lexer - the one being templated .
def parent
      return @parent if instance_variable_defined? :@parent
      @parent = option(:parent) || 'html'
      if @parent.is_a? ::String
        lexer_class = Lexer.find(@parent)
        @parent = lexer_class.new(options)
      end
    end
def parent return @parent if instance_variable_defined? :@parent @parent = option ( :parent ) || 'html' if @parent . is_a? :: String lexer_class = Lexer . find ( @parent ) @parent = lexer_class . new ( options ) end end
the parent lexer - the one being templated.
the parent lexer - the one being templated .