Sha256: b91d79e1a5fdcb7cc161c6052f48782994b7eb9095f5ef7bc46b039e8fee6ff3
Contents?: true
Size: 621 Bytes
Versions: 7
Compression:
Stored size: 621 Bytes
Contents
require_relative '../lib/familia' require_relative './test_helpers' @a = Bone.new 'atoken', 'akey' ## Familia::List#push ret = @a.owners.push :value1 ret.class #=> Familia::List ## Familia::List#<< ret = @a.owners << :value2 << :value3 << :value4 ret.class #=> Familia::List ## Familia::List#pop @a.owners.pop #=> 'value4' ## Familia::List#first @a.owners.first #=> 'value1' ## Familia::List#last @a.owners.last #=> 'value3' ## Familia::List#to_a @a.owners.to_a #=> ['value1','value2','value3'] ## Familia::List#delete @a.owners.delete 'value3' #=> 1 ## Familia::List#size @a.owners.size #=> 2 @a.owners.clear
Version data entries
7 entries across 7 versions & 1 rubygems