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, #lhs=, #matches?, #see, #wantarrow

Constructor Details

#initialize(str, linenum) ⇒ BeginEndContext

Returns a new instance of BeginEndContext.



88
89
90
# File 'lib/rubylexer/context.rb', line 88

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