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
18 19 20 |
# File 'lib/esearch/presenter/aspect/range.rb', line 18 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
58 |
# File 'lib/esearch/presenter/aspect/range.rb', line 58 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
32 33 34 |
# File 'lib/esearch/presenter/aspect/range.rb', line 32 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
50 |
# File 'lib/esearch/presenter/aspect/range.rb', line 50 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
42 |
# File 'lib/esearch/presenter/aspect/range.rb', line 42 expose_primitive(:total_count) |