Sha256: c34d91c7d2f5a4c80c2d4e6360b535fcb06073889860bdb4f431f4c050e43a36

Contents?: true

Size: 208 Bytes

Versions: 50

Compression:

Stored size: 208 Bytes

Contents

# frozen_string_literal: true

module Hako
  module Schema
    class String
      def valid?(object)
        object.is_a?(::String)
      end

      def same?(x, y)
        x == y
      end
    end
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
hako-1.5.2 lib/hako/schema/string.rb
hako-1.5.1 lib/hako/schema/string.rb
hako-1.5.0 lib/hako/schema/string.rb
hako-1.4.0 lib/hako/schema/string.rb
hako-1.3.3 lib/hako/schema/string.rb
hako-1.3.2 lib/hako/schema/string.rb
hako-1.3.1 lib/hako/schema/string.rb
hako-1.3.0 lib/hako/schema/string.rb
hako-1.2.1 lib/hako/schema/string.rb
hako-1.2.0 lib/hako/schema/string.rb