Sha256: c70ae956a4bd3bbd1c2424b07e44c5b509596b6aec03d693c4876aaa5553ca3e

Contents?: true

Size: 204 Bytes

Versions: 183

Compression:

Stored size: 204 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/struct'

class Hash
  # Returns an <tt>EacRubyUtils::Struct</tt> out of its receiver.
  def to_struct
    ::EacRubyUtils::Struct.new(self)
  end
end

Version data entries

183 entries across 183 versions & 3 rubygems

Version Path
eac_ruby_utils-0.124.0 lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_tools-0.97.2 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_ruby_utils-0.123.0 lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_ruby_utils-0.121.0 lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_ruby_utils-0.120.0 lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_tools-0.76.1 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_tools-0.76.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_tools-0.75.2 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_ruby_utils-0.119.2 lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_tools-0.75.1 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_tools-0.75.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_ruby_utils-0.119.1 lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_tools-0.74.1 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_tools-0.74.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_tools-0.73.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_ruby_utils-0.119.0 lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_tools-0.72.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_ruby_utils-0.118.1 lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_ruby_utils-0.118.0 lib/eac_ruby_utils/patches/hash/to_struct.rb
eac_tools-0.70.1 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb