Sha256: 40717c8fced2a8e564c236f42829f935f662080754a943ccdf8ac8f891c2dfc2

Contents?: true

Size: 136 Bytes

Versions: 24

Compression:

Stored size: 136 Bytes

Contents

class Hash
  def shallow_to_n
    hash = `{}`
    self.each do |key, value|
       `hash[#{key}] = #{value}`
    end
    hash
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
hyper-react-1.0.0.lap24 lib/react/ext/hash.rb
hyper-react-1.0.0.lap23 lib/react/ext/hash.rb
hyper-react-1.0.0.lap22 lib/react/ext/hash.rb
hyper-react-1.0.0.lap21 lib/react/ext/hash.rb