class Hotdog::Expression::RegexpHostOrTagNode
Public Class Methods
new(tagname, separator=nil, options={})
click to toggle source
Calls superclass method
Hotdog::Expression::TagExpressionNode::new
# File lib/hotdog/expression/semantics.rb, line 1163 def initialize(tagname, separator=nil, options={}) super(tagname, nil, separator, options) end
Public Instance Methods
condition(options={})
click to toggle source
# File lib/hotdog/expression/semantics.rb, line 1167 def condition(options={}) "hosts.name REGEXP ? OR tags.name REGEXP ? OR tags.value REGEXP ?" end
condition_tables(options={})
click to toggle source
# File lib/hotdog/expression/semantics.rb, line 1171 def condition_tables(options={}) [:hosts, :tags] end
condition_values(options={})
click to toggle source
# File lib/hotdog/expression/semantics.rb, line 1175 def condition_values(options={}) [tagname, tagname, tagname] end