module Pakyow::Support::Configurable::ClassMethods

Public Instance Methods

configure(environment = :__global, &block) click to toggle source

Define configuration to be applied when configuring for an environment.

# File lib/pakyow/support/configurable.rb, line 75
def configure(environment = :__global, &block)
  @__config_environments[environment] = block
end
inherited(subclass) click to toggle source

@api private

Calls superclass method
# File lib/pakyow/support/configurable.rb, line 80
def inherited(subclass)
  super
  subclass.config.update_configurable(subclass)
end