module Ldp

LDP client for presenting an ORM on top of an LDP resource

Constants

ETagMismatch
None

The single global instance of NoneClass, representing the empty Option

VERSION

Attributes

logger[W]

Public Class Methods

instrument(*args) { || ... } click to toggle source
# File lib/ldp.rb, line 41
def instrument *args, &block
  if defined?(::ActiveSupport) && defined?(::ActiveSupport::Notifications)
    ActiveSupport::Notifications.instrument *args, &block
  else
    yield
  end
end
logger() click to toggle source
# File lib/ldp.rb, line 35
def logger
  @logger ||= Logger.new(STDOUT).tap do |log|
    log.level = Logger::WARN
  end
end