Class: Authorization::DevelopmentSupport::Analyzer::Report

Inherits:
Object
  • Object
show all
Defined in:
lib/declarative_authorization/development_support/analyzer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, filename, line, msg) ⇒ Report

Returns a new instance of Report.



252
253
254
255
256
257
# File 'lib/declarative_authorization/development_support/analyzer.rb', line 252

def initialize (type, filename, line, msg)
  @type = type
  @filename = filename
  @line = line
  @message = msg
end

Instance Attribute Details

#filenameObject (readonly)

Returns the value of attribute filename.



251
252
253
# File 'lib/declarative_authorization/development_support/analyzer.rb', line 251

def filename
  @filename
end

#lineObject (readonly)

Returns the value of attribute line.



251
252
253
# File 'lib/declarative_authorization/development_support/analyzer.rb', line 251

def line
  @line
end

#messageObject (readonly)

Returns the value of attribute message.



251
252
253
# File 'lib/declarative_authorization/development_support/analyzer.rb', line 251

def message
  @message
end

#typeObject (readonly)

Returns the value of attribute type.



251
252
253
# File 'lib/declarative_authorization/development_support/analyzer.rb', line 251

def type
  @type
end