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-component-1.0.alpha1.8 lib/hyperstack/ext/component/hash.rb
hyper-component-1.0.alpha1.7 lib/hyperstack/ext/component/hash.rb
hyper-component-1.0.alpha1.6 lib/hyperstack/ext/component/hash.rb
hyper-component-1.0.alpha1.5 lib/hyperstack/ext/component/hash.rb
hyper-component-1.0.alpha1.4 lib/hyperstack/ext/component/hash.rb
hyper-component-0.99.6 lib/react/ext/hash.rb
hyper-component-1.0.alpha1.3 lib/hyperstack/ext/component/hash.rb
hyper-component-0.99.5 lib/react/ext/hash.rb
hyper-component-0.99.4 lib/react/ext/hash.rb
hyper-component-1.0.alpha1.2 lib/hyperstack/ext/component/hash.rb
hyper-component-1.0.alpha1.1 lib/hyperstack/ext/component/hash.rb
hyper-component-1.0.alpha1 lib/hyperstack/ext/component/hash.rb
hyper-component-0.99.3 lib/react/ext/hash.rb
hyper-component-0.99.2 lib/react/ext/hash.rb
hyper-component-0.99.1 lib/react/ext/hash.rb
hyper-component-0.99.0 lib/react/ext/hash.rb
hyper-react-1.0.0.lap28 lib/react/ext/hash.rb
hyper-react-1.0.0.lap27 lib/react/ext/hash.rb
hyper-react-1.0.0.lap26 lib/react/ext/hash.rb
hyper-react-1.0.0.lap25 lib/react/ext/hash.rb