Class: Chartify::Configuration

Inherits:
Object
  • Object
show all
Includes:
ActiveSupport::Configurable
Defined in:
lib/chartify/config.rb

Instance Method Summary collapse

Instance Method Details

#web {|@web_config ||= Chartify::WebConfiguration.new| ... } ⇒ Object



8
9
10
# File 'lib/chartify/config.rb', line 8

def web(&block)
  yield @web_config ||= Chartify::WebConfiguration.new
end

#web_configObject



12
13
14
# File 'lib/chartify/config.rb', line 12

def web_config
  @web_config
end