Class: UniversalAccessLogParser::ElementGroup::Surrounding

Inherits:
UniversalAccessLogParser::ElementGroup show all
Defined in:
lib/universal-access-log-parser.rb

Instance Method Summary collapse

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

#regexpObject



91
92
93
# File 'lib/universal-access-log-parser.rb', line 91

def regexp
	@left + super + @right
end