class Esearch::Presenter::Aspect::Range

Range aspect

Public Instance Methods

from() click to toggle source

Return range start

@return [Float]

if present

@return [nil]

otherwise

@api private

# File lib/esearch/presenter/aspect/range.rb, line 20
def from
  raw['from']
end
to() click to toggle source

Return range end

@return [Float]

if present

@return [nil]

otherwise

@api private

# File lib/esearch/presenter/aspect/range.rb, line 34
def to
  raw['to']
end