Sha256: e934cca61f79a0dfb3267bcdab5868df755e95b45aad1767ecceb846ec8770a2

Contents?: true

Size: 166 Bytes

Versions: 7

Compression:

Stored size: 166 Bytes

Contents

# frozen_string_literal: true

module Stairwell
  module Types
    class FloatType < BaseType
      def valid?
        value.is_a?(Float)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stairwell-0.6.5 lib/stairwell/types/float_type.rb
stairwell-0.6.4 lib/stairwell/types/float_type.rb
stairwell-0.6.3 lib/stairwell/types/float_type.rb
stairwell-0.6.2 lib/stairwell/types/float_type.rb
stairwell-0.6.1 lib/stairwell/types/float_type.rb
stairwell-0.6.0 lib/stairwell/types/float_type.rb
stairwell-0.5.0 lib/stairwell/types/float_type.rb