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, #lhs=, #matches?, #see, #wantarrow
Constructor Details
#initialize(linenum) ⇒ BlockContext
Returns a new instance of BlockContext.
80 81 82 |
# File 'lib/rubylexer/context.rb', line 80 def initialize(linenum) super('{','}',linenum) end |
Instance Attribute Details
#wanting_stabby_block_body ⇒ Object
Returns the value of attribute wanting_stabby_block_body.
83 84 85 |
# File 'lib/rubylexer/context.rb', line 83 def wanting_stabby_block_body @wanting_stabby_block_body end |