Sha256: c0765c597f647edb4e322f3e04a211455fbe6039f39eeb6a45ecf995398e3d2c

Contents?: true

Size: 209 Bytes

Versions: 4

Compression:

Stored size: 209 Bytes

Contents

# frozen_string_literal: true

module Kind
  module OpenStruct
    extend self, TypeChecker

    def kind; ::OpenStruct; end
  end

  def self.OpenStruct?(*values)
    KIND.of?(::OpenStruct, values)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kind-5.1.0 lib/kind/core/type_checkers/stdlib/open_struct.rb
kind-5.0.0 lib/kind/type_checkers/stdlib/open_struct.rb
kind-4.1.0 lib/kind/type_checkers/stdlib/open_struct.rb
kind-4.0.0 lib/kind/type_checkers/stdlib/open_struct.rb