Sha256: 7c922d0278399cd3666eb6a524dc3084f132d9b555f4c8e4606d2c7b35fc9742

Contents?: true

Size: 490 Bytes

Versions: 2

Compression:

Stored size: 490 Bytes

Contents

# encoding: utf-8

module Axiom
  class Function

    # Abstract class for Numeric functions
    class Numeric < Function
      include AbstractType

      # Return the type returned from #call
      #
      # @example
      #   type = Axiom::Function::Numeric.type  # => Axiom::Types::Numeric
      #
      # @return [Class<Types::Numeric>]
      #
      # @api public
      def self.type
        Types::Numeric
      end

    end # class Numeric
  end # class Function
end # module Axiom

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
axiom-0.2.0 lib/axiom/function/numeric.rb
axiom-0.1.1 lib/axiom/function/numeric.rb