Sha256: f66dc8b6dca11ebd47790cf8183bf827ba9ff33865b68984f8243e1a514335af
Contents?: true
Size: 284 Bytes
Versions: 6
Compression:
Stored size: 284 Bytes
Contents
# Class: Proton::Meta # Metadata. # # This is usually accessed via {Proton::Page.meta}. class Proton 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
6 entries across 6 versions & 1 rubygems