module Ronflex

def configuration

Returns:
  • (Snorlax::Configuration) - The global instance of the configuration
def configuration
  @configuration ||= Configuration.new
end

def configure

Other tags:
    Yieldparam: config - The configuration object to modify.

Other tags:
    Yield: - The block receives an instance of `Snorlax::Configuration`
def configure
  @configuration ||= Configuration.new
  yield @configuration if block_given?
end

def play_pokeflute

Returns:
  • (void) -
def play_pokeflute
  configuration.enable = false
end

def stop_pokeflute

Returns:
  • (void) -
def stop_pokeflute
  configuration.enable = true
end