Sha256: 4286917cd569cfec7bb25cca022b83f1849619c8627b2af8b76e7b9b5fe44f54

Contents?: true

Size: 231 Bytes

Versions: 11

Compression:

Stored size: 231 Bytes

Contents

# frozen_string_literal: true

require 'ostruct'

module Kind
  module OpenStruct
    extend self, ::Kind::Object

    def kind; ::OpenStruct; end
  end

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
kind-5.10.0 lib/kind/objects/modules/stdlib/open_struct.rb
kind-5.9.0 lib/kind/objects/modules/stdlib/open_struct.rb
kind-5.8.1 lib/kind/objects/modules/stdlib/open_struct.rb
kind-5.8.0 lib/kind/objects/modules/stdlib/open_struct.rb
kind-5.7.0 lib/kind/objects/modules/stdlib/open_struct.rb
kind-5.6.0 lib/kind/objects/modules/stdlib/open_struct.rb
kind-5.5.0 lib/kind/objects/modules/stdlib/open_struct.rb
kind-5.4.1 lib/kind/objects/modules/stdlib/open_struct.rb
kind-5.4.0 lib/kind/objects/modules/stdlib/open_struct.rb
kind-5.3.0 lib/kind/objects/modules/stdlib/open_struct.rb
kind-5.2.0 lib/kind/objects/modules/stdlib/open_struct.rb