Sha256: 17d64276af2c9857a6cbee26c1ef7b472e6ce845d651d8404d5dba6f0f130082

Contents?: true

Size: 76 Bytes

Versions: 11

Compression:

Stored size: 76 Bytes

Contents

class Struct
  def to_hash
    Hash[*members.zip(values).flatten]
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
lux-fw-0.6.2 ./lib/overload/struct.rb
lux-fw-0.5.37 ./lib/overload/struct.rb
lux-fw-0.5.36 ./lib/overload/struct.rb
lux-fw-0.5.35 ./lib/overload/struct.rb
lux-fw-0.5.34 ./lib/overload/struct.rb
lux-fw-0.5.33 ./lib/overload/struct.rb
lux-fw-0.5.32 ./lib/overload/struct.rb
lux-fw-0.2.3 ./lib/overload/struct.rb
lux-fw-0.2.1 ./lib/overload/struct.rb
lux-fw-0.1.35 ./lib/overload/struct.rb
lux-fw-0.1.17 ./lib/overload/struct.rb