Class: UniversalAccessLogParser::ElementGroup::Surrounding
- Inherits:
-
UniversalAccessLogParser::ElementGroup
- Object
- Array
- UniversalAccessLogParser::ElementGroup
- UniversalAccessLogParser::ElementGroup::Surrounding
- Defined in:
- lib/universal-access-log-parser.rb
Instance Method Summary collapse
-
#initialize(parent, left, right, &block) ⇒ Surrounding
constructor
A new instance of Surrounding.
- #regexp ⇒ Object
Methods inherited from UniversalAccessLogParser::ElementGroup
#date, #date_iis, #date_ncsa, #double_quoted, #element, #float, #integer, #integratin_group, #ip, #names, #optional, parser, #parsers, #separated_with, #separator, #single_quoted, #string, #surrounded_by, #surrounding_group
Constructor Details
#initialize(parent, left, right, &block) ⇒ Surrounding
Returns a new instance of Surrounding.
85 86 87 88 89 |
# File 'lib/universal-access-log-parser.rb', line 85 def initialize(parent, left, right, &block) @left = left @right = right super(parent, &block) end |
Instance Method Details
#regexp ⇒ Object
91 92 93 |
# File 'lib/universal-access-log-parser.rb', line 91 def regexp @left + super + @right end |