Class: ActiveOrm::Base
- Inherits:
-
Object
- Object
- ActiveOrm::Base
- Defined in:
- lib/active_orm/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Instance Attribute Details
#configuration ⇒ Object
Returns the value of attribute configuration.
3 4 5 |
# File 'lib/active_orm/base.rb', line 3 def configuration @configuration end |
Class Method Details
.configuration ⇒ Object
5 6 7 |
# File 'lib/active_orm/base.rb', line 5 def self.configuration @configuration ||= Configuration.new end |
.configuration=(config) ⇒ Object
9 10 11 |
# File 'lib/active_orm/base.rb', line 9 def self.configuration=(config) @configuration = config end |
.configure {|configuration| ... } ⇒ Object
13 14 15 |
# File 'lib/active_orm/base.rb', line 13 def self.configure yield(configuration) end |