Class DynamicReports::View

  1. lib/dynamic_reports/views.rb
Parent: Object

Methods

public class

  1. cached_templates
  2. caller_locations
  3. new

public instance

  1. options

Included modules

  1. Templates

Attributes

report [RW]
template [RW]
views [RW]

Public class methods

cached_templates ()
[show source]
# File lib/dynamic_reports/views.rb, line 22
      def cached_templates
        @@cached_templates
      end
caller_locations ()

TODO: Investigate if we can remove the need for caller_locations here?

[show source]
# File lib/dynamic_reports/views.rb, line 28
    def self.caller_locations ; [] ; end
new (report)
[show source]
# File lib/dynamic_reports/views.rb, line 15
    def initialize(report)
      @template = report.template
      @report   = report
      @views    = report.views
    end

Public instance methods

options ()
[show source]
# File lib/dynamic_reports/views.rb, line 11
    def options
      @options ||= {}
    end