Module: Patiently
- Defined in:
- lib/patiently.rb,
lib/patiently/errors.rb,
lib/patiently/helpers.rb,
lib/patiently/version.rb,
lib/patiently/configuration.rb
Defined Under Namespace
Modules: Helpers Classes: Configuration, Error, FrozenInTime
Constant Summary collapse
- VERSION =
"1.0.0"
Class Method Summary collapse
-
.config ⇒ Object
The global configuration object.
-
.configure {|config| ... } ⇒ Object
Yields the configuration object for block-style setup:.
Class Method Details
.config ⇒ Object
The global configuration object. See Patiently::Configuration.
11 12 13 |
# File 'lib/patiently.rb', line 11 def config @config ||= Configuration.new end |
.configure {|config| ... } ⇒ Object
Yields the configuration object for block-style setup:
Patiently.configure do |config|
config.timeout = 10
end
20 21 22 |
# File 'lib/patiently.rb', line 20 def configure yield config end |