Class: RubyLexer::NestedContexts::BeginEndContext

Inherits:
NestedContext
  • Object
show all
Defined in:
lib/rubylexer/context.rb

Instance Attribute Summary

Attributes inherited from NestedContext

#ender, #linenum, #starter

Instance Method Summary collapse

Methods inherited from NestedContext

#lhs=, #matches?, #see, #wantarrow

Constructor Details

#initialize(str, linenum) ⇒ BeginEndContext

Returns a new instance of BeginEndContext.



81
82
83
# File 'lib/rubylexer/context.rb', line 81

def initialize(str,linenum)
  super('{','}',linenum)
end