Sha256: 739e50e677f29f5a7f0a224e69cd118c438f21fb8c320b8fb0c39603a639a4d4

Contents?: true

Size: 181 Bytes

Versions: 16

Compression:

Stored size: 181 Bytes

Contents

class Struct
  
  def self.from_hash(h)
    o = new
    h.each do |m, v|
      o[m.to_sym] = v
    end
    o
  end

  def self.from_array(a)
    a.collect do |b|
    end
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
threetaps-client-1.0.14 lib/struct.rb
threetaps-client-1.0.13 lib/struct.rb
threetaps-client-1.0.12 lib/struct.rb
threetaps-client-1.0.11 lib/struct.rb
threetaps-client-1.0.10 lib/struct.rb
threetaps-client-1.0.9 lib/struct.rb
threetaps-client-1.0.8 lib/struct.rb
threetaps-client-1.0.7 lib/struct.rb
threetaps-client-1.0.6 lib/struct.rb
threetaps-client-1.0.5 lib/struct.rb
threetaps-client-1.0.4 lib/struct.rb
threetaps-client-1.0.3 lib/struct.rb
threetaps-client-1.0.2 lib/struct.rb
threetaps-client-1.0.1 lib/struct.rb
threetaps-client-1.0.0 lib/struct.rb
threetaps-client-0.5.1 lib/struct.rb