Class: Esearch::Presenter::Aspect::Range
- Inherits:
-
Esearch::Presenter::Aspect
- Object
- Esearch::Presenter
- Esearch::Presenter::Aspect
- Esearch::Presenter::Aspect::Range
- Defined in:
- lib/esearch/presenter/aspect/range.rb
Overview
Range aspect
Instance Method Summary collapse
-
#from ⇒ Float?
private
Return range start.
-
#mean ⇒ Float
private
Return mean.
-
#to ⇒ Float?
private
Return range end.
-
#total ⇒ Float
private
Return total.
-
#total_count ⇒ Fixnum
private
Return total count.
Methods inherited from Esearch::Presenter::Aspect
Instance Method Details
#from ⇒ Float?
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return range start
20 21 22 |
# File 'lib/esearch/presenter/aspect/range.rb', line 20 def from raw['from'] end |
#mean ⇒ Float
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return mean
60 |
# File 'lib/esearch/presenter/aspect/range.rb', line 60 expose_primitive(:mean) |
#to ⇒ Float?
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return range end
34 35 36 |
# File 'lib/esearch/presenter/aspect/range.rb', line 34 def to raw['to'] end |
#total ⇒ Float
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return total
52 |
# File 'lib/esearch/presenter/aspect/range.rb', line 52 expose_primitive(:total) |
#total_count ⇒ Fixnum
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return total count
44 |
# File 'lib/esearch/presenter/aspect/range.rb', line 44 expose_primitive(:total_count) |