module Caffeinate

Constants

VERSION

Public Class Methods

config() click to toggle source

Global configuration

# File lib/caffeinate.rb, line 34
def self.config
  @config ||= Configuration.new
end
dripper_collection() click to toggle source
# File lib/caffeinate.rb, line 29
def self.dripper_collection
  @dripper_collection ||= DripperCollection.new
end
setup() { |config| ... } click to toggle source

Yields the configuration

# File lib/caffeinate.rb, line 39
def self.setup
  yield config
end
test_mode!() click to toggle source
# File lib/caffeinate.rb, line 43
def self.test_mode!

end