Sha256: 2afbeb5cd8362af4e5bd28e6cbe64cb7984b3b7ffded1a5fe82d5b3760ab568e

Contents?: true

Size: 193 Bytes

Versions: 11

Compression:

Stored size: 193 Bytes

Contents

class Hyde
class Meta < OpenStruct
  def merge!(hash)
    @table.merge(hash)
  end

  # For Ruby 1.8.6 compatibility ([:type] instead of .type)
  def [](id)
    @table[id.to_sym]
  end
end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hydeweb-0.2.2 lib/hyde/meta.rb
hydeweb-0.1.14 lib/hyde/meta.rb
hydeweb-0.1.13 lib/hyde/meta.rb
hydeweb-0.1.12 lib/hyde/meta.rb
hydeweb-0.1.11 lib/hyde/meta.rb
hydeweb-0.1.10 lib/hyde/meta.rb
hydeweb-0.1.9 lib/hyde/meta.rb
hydeweb-0.1.8 lib/hyde/meta.rb
hydeweb-0.1.7 lib/hyde/meta.rb
hydeweb-0.1.6 lib/hyde/meta.rb
hydeweb-0.1.5 lib/hyde/meta.rb