Sha256: 16c29df451556e35f1173dd37f962a1d09bafa006d2648152f0acc8a2d46ec1f
Contents?: true
Size: 488 Bytes
Versions: 1
Compression:
Stored size: 488 Bytes
Contents
require 'vienna/observable_array' module Vienna class RecordArray include ObservableArray attr_writer :content def ==(arr) if arr.respond_to? :content @content == arr.content else @content == arr end end def method_missing(sym, *args, &block) @content.__send__(sym, *args, &block) end def each(&block) @content.each(&block) end def size @content.size end alias length size end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
opal-vienna-0.7.0 | opal/vienna/record_array.rb |