Class: Lolita::Configuration::Base
- Inherits:
-
Object
- Object
- Lolita::Configuration::Base
- Defined in:
- lib/lolita-report/configuration/base.rb
Instance Method Summary collapse
-
#report(*args, &block) ⇒ Object
Container for report.
-
#reports(&block) ⇒ Object
Container for reports.
Instance Method Details
#report(*args, &block) ⇒ Object
Container for report
16 17 18 |
# File 'lib/lolita-report/configuration/base.rb', line 16 def report *args, &block self.reports << Lolita::Configuration::Report.new(@dbi,*args,&block) end |
#reports(&block) ⇒ Object
Container for reports
11 12 13 |
# File 'lib/lolita-report/configuration/base.rb', line 11 def reports &block Lolita::LazyLoader.lazy_load(self,:@reports,Lolita::Configuration::Reports,@dbi,&block) end |