Sha256: 8c51e38c961e6a07d3964b375a7188692d87481f5e0cb2a04d4c694a1a8d835b

Contents?: true

Size: 126 Bytes

Versions: 2

Compression:

Stored size: 126 Bytes

Contents

module JSONAPIonify::Types
  class FloatType < BaseType

    def sample(*)
      rand(0.0..201.42).round(2)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jsonapionify-0.9.0 lib/jsonapionify/types/float_type.rb
jsonapionify-0.0.1.pre lib/jsonapionify/types/float_type.rb