Sha256: 3d99035db20f7951d37064e3e2b4a0491b2e4df94cb8a87833efb4a9f2544b4f
Contents?: true
Size: 239 Bytes
Versions: 50
Compression:
Stored size: 239 Bytes
Contents
require 'actv/base' require 'actv/facet_term' module ACTV class Facet < ACTV::Base attr_reader :name def terms @terms ||= Array(@attrs[:terms]).map do |term| ACTV::FacetTerm.new(term) end end end end
Version data entries
50 entries across 50 versions & 1 rubygems