Sha256: e4a47cc7493510a5be5866e2635bfdfb72580ae710b157d44a4c70525b957f3c

Contents?: true

Size: 416 Bytes

Versions: 2

Compression:

Stored size: 416 Bytes

Contents

module Ldp::Uri

  def uri str
    RDF::URI.new("http://www.w3.org/ns/ldp#") + str
  end

  def resource
    uri("Resource")
  end

  def container
    uri("Container")
  end

  def page
    uri("Page")
  end

  def page_of
    uri("pageOf")
  end

  def next_page
    uri("nextPage")
  end

  def inlinedResource
    uri("inlinedResource")
  end

  def membership_predicate
    uri("membershipPredicate")
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ldp-0.0.3 lib/ldp/uri.rb
ldp-0.0.2 lib/ldp/uri.rb