Class: MigemoRegex::RegexEmacsMetachars

Inherits:
RegexMetachars show all
Defined in:
lib/migemo-regex.rb

Instance Attribute Summary

Attributes inherited from RegexMetachars

#bar, #lparen, #rparen

Instance Method Summary collapse

Constructor Details

#initializeRegexEmacsMetachars

Returns a new instance of RegexEmacsMetachars.



167
168
169
170
171
# File 'lib/migemo-regex.rb', line 167

def initialize
  @bar = '\\|'
  @lparen = '\\('
  @rparen = '\\)'
end