class Hotdog::Expression::RegexpTagnameNode
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 1119 def initialize(tagname, separator=nil, options={}) case tagname when /\A\/(.*)\/\z/ tagname = $1 end super(tagname.to_s, nil, separator, options) end
Public Instance Methods
condition(options={})
click to toggle source
# File lib/hotdog/expression/semantics.rb, line 1127 def condition(options={}) "tags.name REGEXP ?" end
condition_tables(options={})
click to toggle source
# File lib/hotdog/expression/semantics.rb, line 1131 def condition_tables(options={}) [:tags] end
condition_values(options={})
click to toggle source
# File lib/hotdog/expression/semantics.rb, line 1135 def condition_values(options={}) [tagname] end