Module: Funky

Defined in:
lib/funky.rb,
lib/funky/video.rb,
lib/funky/errors.rb,
lib/funky/version.rb,
lib/funky/html/page.rb,
lib/funky/html/parser.rb,
lib/funky/configuration.rb,
lib/funky/connections/base.rb

Defined Under Namespace

Modules: Connection, HTML Classes: Configuration, ConnectionError, ContentNotFound, Video

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.configurationObject


10
11
12
# File 'lib/funky.rb', line 10

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

.configure {|configuration| ... } ⇒ Object

Yields:


14
15
16
# File 'lib/funky.rb', line 14

def self.configure
  yield configuration if block_given?
end