Sha256: bb617a272621b5ad3c6e88450b0b98a4b6b5f1d06854213b2de05742309e88d4
Contents?: true
Size: 241 Bytes
Versions: 14
Compression:
Stored size: 241 Bytes
Contents
class AttributeEncapsulator attr_reader :attr def initialize(attr) @attr = AttrStruct.new(attr[0], attr[1]) end def key attr.key end def value attr.value end private AttrStruct = Struct.new(:key, :value) end
Version data entries
14 entries across 14 versions & 2 rubygems