Module: WriteOnce
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/write_once.rb,
lib/write_once/version.rb,
lib/write_once/configuration.rb
Defined Under Namespace
Modules: ClassMethods, HasWriteOnceAttributes
Classes: Configuration
Constant Summary
collapse
- VERSION =
"0.1.0"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
22
23
24
|
# File 'lib/write_once.rb', line 22
def self.config
@config ||= Configuration.new
end
|
18
19
20
|
# File 'lib/write_once.rb', line 18
def self.configure(&block)
block.call(config)
end
|