Sha256: b47df9cb3bb9852db336a4d5b8f4862f2e8c4624a9872f8cb9a8225ce7fb08fe
Contents?: true
Size: 506 Bytes
Versions: 18
Compression:
Stored size: 506 Bytes
Contents
module Arrest class IdsCollection def initialize(parent, ids_url) @collection = nil @parent = parent @url = ids_url end def method_missing(*args, &block) collection.send(*args, &block) end def inspect collection.inspect end private def collection unless @collection r = @parent.class.source().get(@parent.context, "#{@url}") @collection = @parent.class.body_root(r) end @collection end end end
Version data entries
18 entries across 18 versions & 1 rubygems