lib/axiom/aggregate/standard_deviation.rb in axiom-0.1.0 vs lib/axiom/aggregate/standard_deviation.rb in axiom-0.1.1
- old
+ new
@@ -26,21 +26,22 @@
# Return the type returned from #call
#
# @example
# type = Axiom::Aggregate::StandardDeviation.type
+ # # => Axiom::Types::Float
#
- # @return [Class<Attribute::Float>]
+ # @return [Class<Types::Float>]
#
# @api public
- def type
- Attribute::Float
+ def self.type
+ Types::Float
end
module Methods
extend Aliasable
- inheritable_alias(:stddev => :standard_deviation)
+ inheritable_alias(stddev: :standard_deviation)
# Return a standard deviation aggregate function
#
# @example
# standard_deviation = attribute.standard_deviation