lib/hako/schema/string.rb in hako-1.1.0 vs lib/hako/schema/string.rb in hako-1.2.0
- old
+ new
@@ -1,5 +1,6 @@
# frozen_string_literal: true
+
module Hako
module Schema
class String
def valid?(object)
object.is_a?(::String)
- old
+ new