Module: ThemeBandit

Defined in:
lib/theme_bandit.rb,
lib/theme_bandit/util/log.rb,
lib/theme_bandit/parser/js.rb,
lib/theme_bandit/downloader.rb,
lib/theme_bandit/parser/css.rb,
lib/theme_bandit/parser/html.rb,
lib/theme_bandit/util/version.rb,
lib/theme_bandit/url_formatter.rb,
lib/theme_bandit/rack_generator.rb,
lib/theme_bandit/util/configure.rb,
lib/theme_bandit/document_writer.rb

Defined Under Namespace

Modules: CSSParser, HTMLParser, JSParser, URLFormatter Classes: Config, DocumentWriter, Downloader, Log, RackGenerator

Constant Summary collapse

VERSION =
'0.0.9'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



3
4
5
# File 'lib/theme_bandit/util/configure.rb', line 3

def configuration
  @configuration
end

Class Method Details

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

Yields:



6
7
8
9
10
# File 'lib/theme_bandit/util/configure.rb', line 6

def self.configure
  self.configuration ||= Config.new
  yield configuration
  configuration
end