Sha256: fb7492dbf1ee7ed22d2d6bf0bf977369edd4e5aa8ec995ddd44f68b43d1f10bb

Contents?: true

Size: 170 Bytes

Versions: 7

Compression:

Stored size: 170 Bytes

Contents

# frozen_string_literal: true

module Stairwell
  module Types
    class DateTimeType < BaseType
      def valid?
        value.is_a?(String)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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