Module: ReportableRails
- Defined in:
- lib/reportable_rails.rb,
lib/reportable_rails/errors.rb,
lib/reportable_rails/version.rb,
lib/reportable_rails/models/report.rb,
lib/reportable_rails/models/hours_log.rb,
lib/reportable_rails/models/report_category.rb
Defined Under Namespace
Modules: Models Classes: Configuration, Engine, Error, InvalidPeriodError
Constant Summary collapse
- VERSION =
"0.1.5"
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.
30 31 32 |
# File 'lib/reportable_rails.rb', line 30 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
33 34 35 36 |
# File 'lib/reportable_rails.rb', line 33 def self.configure self.configuration ||= Configuration.new yield(configuration) end |