Class: Authorization::Analyzer::Report
- Inherits:
-
Object
- Object
- Authorization::Analyzer::Report
- Defined in:
- lib/declarative_authorization/authorization_rules_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.
130 131 132 133 134 135 |
# File 'lib/declarative_authorization/authorization_rules_analyzer.rb', line 130 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.
129 130 131 |
# File 'lib/declarative_authorization/authorization_rules_analyzer.rb', line 129 def filename @filename end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
129 130 131 |
# File 'lib/declarative_authorization/authorization_rules_analyzer.rb', line 129 def line @line end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
129 130 131 |
# File 'lib/declarative_authorization/authorization_rules_analyzer.rb', line 129 def @message end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
129 130 131 |
# File 'lib/declarative_authorization/authorization_rules_analyzer.rb', line 129 def type @type end |