Class: RubyLexer::NestedContexts::StringContext
- Inherits:
-
NestedContext
- Object
- NestedContext
- RubyLexer::NestedContexts::StringContext
- Defined in:
- lib/rubylexer/context.rb
Overview
not used yet
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from NestedContext
Instance Method Summary collapse
-
#initialize(starter, linenum) ⇒ StringContext
constructor
A new instance of StringContext.
Methods inherited from NestedContext
#lhs, #lhs=, #matches?, #see, #wantarrow
Constructor Details
#initialize(starter, linenum) ⇒ StringContext
Returns a new instance of StringContext.
227 228 229 |
# File 'lib/rubylexer/context.rb', line 227 def initialize(starter,linenum) super(starter, starter[-1,1].tr!('{[(','}])'),linenum) end |