Class: RubyLexer::NestedContexts::TernaryContext
- Inherits:
-
NestedContext
- Object
- NestedContext
- RubyLexer::NestedContexts::TernaryContext
- Defined in:
- lib/rubylexer/context.rb
Instance Attribute Summary
Attributes inherited from NestedContext
Instance Method Summary collapse
-
#initialize(linenum) ⇒ TernaryContext
constructor
A new instance of TernaryContext.
Methods inherited from NestedContext
#lhs, #lhs=, #matches?, #see, #wantarrow
Constructor Details
#initialize(linenum) ⇒ TernaryContext
Returns a new instance of TernaryContext.
330 331 332 |
# File 'lib/rubylexer/context.rb', line 330 def initialize(linenum) dflt_initialize('?',':',linenum) end |