Sha256: acb882de1aba57f5621d29b1d7c9a61c4d9645e44a7ab4a0e9cd1bbf055a9764

Contents?: true

Size: 91 Bytes

Versions: 4

Compression:

Stored size: 91 Bytes

Contents

require 'ostruct'

def →(a)
  p a
  OpenStruct.new(a)
end

x = [→(:a => 'b')]
p x[0].a

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cpee-1.3.206 server/resources/test.rb
cpee-1.3.205 server/resources/test.rb
cpee-1.3.204 server/resources/test.rb
cpee-1.3.203 server/resources/test.rb