module Telleroo

Constants

VERSION

Public Class Methods

config() click to toggle source
# File lib/telleroo.rb, line 11
def self.config
  @config ||= Configuration.new
end
configure() { |config| ... } click to toggle source
# File lib/telleroo.rb, line 15
def self.configure
  yield config
end
options() click to toggle source

Return the config values set in this module

# File lib/telleroo.rb, line 20
def self.options
  Hash[
    * Configuration::VALID_CONFIG_KEYS.map { |key| [key, send(key)] }.flatten
  ]
end