Module: Zemanta

Defined in:
lib/zemanta.rb,
lib/zemanta/markup.rb,
lib/zemanta/fetcher.rb,
lib/zemanta/version.rb,
lib/zemanta/enhancer.rb,
lib/zemanta/cache/disk.rb,
lib/zemanta/fetcher/web.rb,
lib/zemanta/markup/link.rb,
lib/zemanta/configuration.rb,
lib/zemanta/fetcher/cache.rb,
lib/zemanta/fetcher/parser.rb,
lib/zemanta/fetcher/cache/key.rb,
lib/zemanta/markup/link/target.rb,
lib/zemanta/fetcher/cache/response.rb,
lib/zemanta/configuration/null_storage.rb,
lib/zemanta/fetcher/cache/null_response.rb

Defined Under Namespace

Modules: Cache Classes: Configuration, Enhancer, Fetcher, Markup

Constant Summary collapse

VERSION =
"0.0.9"

Class Method Summary collapse

Class Method Details

.configObject



25
26
27
# File 'lib/zemanta.rb', line 25

def self.config
  @configuration ||= Configuration.new
end

.configure {|config| ... } ⇒ Object

Yields:



21
22
23
# File 'lib/zemanta.rb', line 21

def self.configure
  yield config
end