Module: Tabloid

Defined in:
lib/tabloid.rb,
lib/tabloid/data.rb,
lib/tabloid/version.rb,
lib/tabloid/parameter.rb,
lib/tabloid/configuration.rb,
lib/tabloid/report_column.rb,
lib/tabloid/column_extensions.rb,
lib/tabloid/missing_parameter_error.rb

Defined Under Namespace

Modules: ColumnExtensions, Report Classes: Data, Group, HeaderRow, MissingElementError, MissingParameterError, Parameter, ReportColumn, Row

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.cache_connection_optionsObject



17
18
19
# File 'lib/tabloid/configuration.rb', line 17

def self.cache_connection_options
  @cache_connection_options || {}
end

.cache_connection_options=(options) ⇒ Object



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

def self.cache_connection_options=(options)
  @cache_connection_options = options
end

.cache_enabled?Boolean

Returns:

  • (Boolean)


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

def self.cache_enabled?
  !@engine.nil?
end

.cache_engineObject



6
7
8
# File 'lib/tabloid/configuration.rb', line 6

def self.cache_engine
  @engine
end

.cache_engine=(engine) ⇒ Object



2
3
4
# File 'lib/tabloid/configuration.rb', line 2

def self.cache_engine=(engine)
  @engine = engine
end