Class: RSolr::TimeField

Inherits:
Field
  • Object
show all
Defined in:
lib/rsolr/field.rb

Instance Attribute Summary

Attributes inherited from Field

#attrs, #source_value

Instance Method Summary collapse

Methods inherited from Field

#as_json, #initialize, instance, #name

Constructor Details

This class inherits a constructor from RSolr::Field

Instance Method Details

#valueObject



65
66
67
# File 'lib/rsolr/field.rb', line 65

def value
  source_value.getutc.strftime('%FT%TZ')
end