Class: MigemoRegex::RegexMetachars

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRegexMetachars

Returns a new instance of RegexMetachars.



142
143
144
145
146
# File 'lib/migemo-regex.rb', line 142

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

Instance Attribute Details

#barObject

Returns the value of attribute bar.



147
148
149
# File 'lib/migemo-regex.rb', line 147

def bar
  @bar
end

#lparenObject

Returns the value of attribute lparen.



148
149
150
# File 'lib/migemo-regex.rb', line 148

def lparen
  @lparen
end

#rparenObject

Returns the value of attribute rparen.



149
150
151
# File 'lib/migemo-regex.rb', line 149

def rparen
  @rparen
end