class GrafanaReporter::ERB::ReportJail

An instance of this class is used as binding for the ERB execution, i.e. this class contains everything known within the ERB template

Attributes

attributes[R]
report[R]

Public Class Methods

new(report, attributes) click to toggle source
# File lib/grafana_reporter/erb/report_jail.rb, line 10
def initialize(report, attributes)
  @report = report
  @attributes = attributes
end

Public Instance Methods

bind() click to toggle source

@return binding to this object

# File lib/grafana_reporter/erb/report_jail.rb, line 16
def bind
  binding
end