Class: RubyLexer::NestedContexts::BlockContext
- Inherits:
-
NestedContext
- Object
- NestedContext
- RubyLexer::NestedContexts::BlockContext
- Defined in:
- lib/rubylexer/context.rb
Instance Attribute Summary collapse
-
#wanting_stabby_block_body ⇒ Object
Returns the value of attribute wanting_stabby_block_body.
Attributes inherited from NestedContext
Instance Method Summary collapse
-
#initialize(linenum) ⇒ BlockContext
constructor
A new instance of BlockContext.
Methods inherited from NestedContext
#lhs=, #matches?, #see, #wantarrow
Constructor Details
#initialize(linenum) ⇒ BlockContext
Returns a new instance of BlockContext.
73 74 75 |
# File 'lib/rubylexer/context.rb', line 73 def initialize(linenum) super('{','}',linenum) end |
Instance Attribute Details
#wanting_stabby_block_body ⇒ Object
Returns the value of attribute wanting_stabby_block_body.
76 77 78 |
# File 'lib/rubylexer/context.rb', line 76 def wanting_stabby_block_body @wanting_stabby_block_body end |