Sha256: 02792e31868367cd427a1256341d04bed68912816be637db764c171829ce4d23

Contents?: true

Size: 260 Bytes

Versions: 16

Compression:

Stored size: 260 Bytes

Contents

module Ldp
  class Container::Basic < Container
    def members
      return enum_for(:members) unless block_given?
      contains.each { |k, x| yield x }
    end

    protected

    def interaction_model
      RDF::Vocab::LDP.BasicContainer
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ldp-1.2.1 lib/ldp/container/basic.rb
ldp-1.2.0 lib/ldp/container/basic.rb
ldp-1.1.0 lib/ldp/container/basic.rb
ldp-1.0.3 lib/ldp/container/basic.rb
ldp-1.0.2 lib/ldp/container/basic.rb
ldp-1.0.1 lib/ldp/container/basic.rb
ldp-1.0.0 lib/ldp/container/basic.rb
ldp-0.7.2 lib/ldp/container/basic.rb
ldp-0.7.1 lib/ldp/container/basic.rb
ldp-0.7.0 lib/ldp/container/basic.rb
ldp-0.6.4 lib/ldp/container/basic.rb
ldp-0.6.3 lib/ldp/container/basic.rb
ldp-0.6.2 lib/ldp/container/basic.rb
ldp-0.6.1 lib/ldp/container/basic.rb
ldp-0.6.0 lib/ldp/container/basic.rb
ldp-0.5.0 lib/ldp/container/basic.rb