Class: Authorization::DevelopmentSupport::Analyzer::Report
- Inherits:
-
Object
- Object
- Authorization::DevelopmentSupport::Analyzer::Report
- Defined in:
- lib/declarative_authorization/development_support/analyzer.rb
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, filename, line, msg) ⇒ Report
constructor
A new instance of Report.
Constructor Details
#initialize(type, filename, line, msg) ⇒ Report
Returns a new instance of Report.
243 244 245 246 247 248 |
# File 'lib/declarative_authorization/development_support/analyzer.rb', line 243 def initialize (type, filename, line, msg) @type = type @filename = filename @line = line @message = msg end |
Instance Attribute Details
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
242 243 244 |
# File 'lib/declarative_authorization/development_support/analyzer.rb', line 242 def filename @filename end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
242 243 244 |
# File 'lib/declarative_authorization/development_support/analyzer.rb', line 242 def line @line end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
242 243 244 |
# File 'lib/declarative_authorization/development_support/analyzer.rb', line 242 def @message end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
242 243 244 |
# File 'lib/declarative_authorization/development_support/analyzer.rb', line 242 def type @type end |