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



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

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

#web_configObject



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

def web_config
  @web_config
end