module Goodyear::FacetMethods

Public Instance Methods

facet(name, options = {}, &block) click to toggle source
# File lib/goodyear/facet_methods.rb, line 3
def facet(name, options = {}, &block)
  @_facets ||= []
  @_facets << {name: name, args: options, l: block}
  return self
end