Sha256: 48bfb77a40f0a8e120c999bc63b63636819d1e9360799b95cc6564faa296c7ed

Contents?: true

Size: 170 Bytes

Versions: 7

Compression:

Stored size: 170 Bytes

Contents

# frozen_string_literal: true

module Stairwell
  module Types
    class IntegerType < BaseType
      def valid?
        value.is_a?(Integer)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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