Module: Eson::Shared::Count
- Extended by:
- API
- Defined in:
- lib/eson/shared/core/count.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Methods included from API
multi_index, multi_types, no_indices, parameters, register, source_param
Methods included from Chainable
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/eson/shared/core/count.rb', line 6 def type @type end |
Instance Method Details
#types ⇒ Object
51 52 53 54 55 56 57 58 59 |
# File 'lib/eson/shared/core/count.rb', line 51 def types if @types Array(@types) elsif type Array(type) else [] end end |