Module: Tablematic

Defined in:
lib/tablematic.rb,
lib/tablematic/version.rb

Constant Summary collapse

VERSION =
"0.0.3"

Class Method Summary collapse

Class Method Details

.configurationObject


13
14
15
# File 'lib/tablematic.rb', line 13

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

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

Yields:


6
7
8
9
10
11
# File 'lib/tablematic.rb', line 6

def self.configure
  # raise Error::AlreadyConfigured unless @configuration.nil?

  @configuration = Configuration.new
  yield(@configuration)
end