Module: Griddler

Defined in:
lib/html-griddler.rb,
lib/html-griddler/engine.rb,
lib/html-griddler/errors.rb,
lib/html-griddler/configuration.rb

Defined Under Namespace

Modules: Errors Classes: Configuration, Email, EmailsController, Engine, Error

Constant Summary collapse

@@configuration =
nil

Class Method Summary collapse

Class Method Details

.configurationObject



14
15
16
# File 'lib/html-griddler/configuration.rb', line 14

def self.configuration
  @@configuration || configure
end

.configureObject



4
5
6
7
8
9
10
11
12
# File 'lib/html-griddler/configuration.rb', line 4

def self.configure
  @@configuration = Configuration.new

  if block_given?
    yield configuration
  end

  configuration
end