Sha256: 709b767bcf077a0b620459ce0990cebbfefb35176a2ca22a59865f535d2714c8
Contents?: true
Size: 311 Bytes
Versions: 11
Compression:
Stored size: 311 Bytes
Contents
# frozen_string_literal: true module Kind module String extend self, ::Kind::Object def kind; ::String; end def value_or_empty(arg) KIND.value(self, arg, Empty::STRING) end alias empty_or value_or_empty end def self.String?(*values) KIND.of?(::String, values) end end
Version data entries
11 entries across 11 versions & 1 rubygems