class Middleman::Sitemap::Queryable::Selector

Attributes

attribute[R]
operator[R]

Public Class Methods

new(opts={}) click to toggle source
# File lib/middleman-core/sitemap/queryable.rb, line 124
def initialize(opts={})
  unless VALID_OPERATORS.include? opts[:operator]
    raise OperatorNotSupportedError
  end
  @attribute, @operator = opts[:attribute], opts[:operator]
end