module GraphStarter
Constants
- CONFIG
- VERSION
Public Class Methods
configuration()
click to toggle source
# File lib/graph_starter/configuration.rb, line 56 def self.configuration CONFIG end
configure(config_hash = nil) { |CONFIG| ... }
click to toggle source
# File lib/graph_starter/configuration.rb, line 42 def self.configure(config_hash = nil) if config_hash.nil? yield CONFIG else config_hash.each do |key, value| CONFIG.send("#{key}=", value) end end errors = CONFIG.validation_errors fail "GraphStarter validation errors: #{errors.inspect}" if errors.size > 0 end