Class: AxR::Scanner::Detection
- Inherits:
-
Object
- Object
- AxR::Scanner::Detection
- Defined in:
- lib/axr/scanner/detection.rb
Instance Attribute Summary collapse
-
#loc ⇒ Object
readonly
Returns the value of attribute loc.
-
#loc_num ⇒ Object
readonly
Returns the value of attribute loc_num.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name:, loc:, loc_num:) ⇒ Detection
constructor
A new instance of Detection.
Constructor Details
#initialize(name:, loc:, loc_num:) ⇒ Detection
Returns a new instance of Detection.
10 11 12 13 14 |
# File 'lib/axr/scanner/detection.rb', line 10 def initialize(name:, loc:, loc_num:) @name = name @loc = loc @loc_num = loc_num end |
Instance Attribute Details
#loc ⇒ Object (readonly)
Returns the value of attribute loc.
8 9 10 |
# File 'lib/axr/scanner/detection.rb', line 8 def loc @loc end |
#loc_num ⇒ Object (readonly)
Returns the value of attribute loc_num.
8 9 10 |
# File 'lib/axr/scanner/detection.rb', line 8 def loc_num @loc_num end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/axr/scanner/detection.rb', line 8 def name @name end |