class SunspotCell::Type::AttachmentType

Public Instance Methods

cast(text) click to toggle source
# File lib/sunspot_cell/type.rb, line 13
def cast(text)
  text
end
indexed_name(name) click to toggle source
# File lib/sunspot_cell/type.rb, line 5
def indexed_name(name)
  "#{name}_attachment"
end
to_indexed(value) click to toggle source
# File lib/sunspot_cell/type.rb, line 9
def to_indexed(value)
  value if value
end