Class | CodeRay::Scanners::Ruby::Patterns::StringState |
In: |
lib/coderay/scanners/ruby/patterns.rb
|
Parent: | Struct.new :type, :interpreted, :delim, :heredoc, :paren, :paren_depth, :pattern, :next_state |
CLOSING_PAREN | = | Hash[ *%w[ ( ) [ ] < > { } ] ] |
OPENING_PAREN | = | CLOSING_PAREN.invert |
STRING_PATTERN | = | Hash.new do |h, k| delim, interpreted = *k |