Module: Bartleby
- Defined in:
- lib/bartleby.rb,
lib/bartleby/version.rb,
lib/bartleby/connection.rb,
lib/bartleby/searchable.rb,
lib/bartleby/objectifier.rb,
lib/bartleby/associatable.rb,
lib/bartleby/configuration.rb
Defined Under Namespace
Modules: Associatable, Searchable Classes: AssocOptions, BelongsToOptions, Configuration, Connection, HasManyOptions, Objectifier
Constant Summary collapse
- VERSION =
"0.0.0"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
5 6 7 |
# File 'lib/bartleby.rb', line 5 def configuration @configuration end |
Class Method Details
.configure(&prc) ⇒ Object
12 13 14 |
# File 'lib/bartleby.rb', line 12 def self.configure(&prc) prc.call(configuration) end |