Class: RaCwe
- Inherits:
-
Object
- Object
- RaCwe
- Defined in:
- lib/ruby_acunetix/ra_cwe.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#text ⇒ Object
Returns the value of attribute text.
-
#year ⇒ Object
Returns the value of attribute year.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id, text) ⇒ RaCwe
constructor
A new instance of RaCwe.
Constructor Details
#initialize(id, text) ⇒ RaCwe
Returns a new instance of RaCwe.
4 5 6 7 |
# File 'lib/ruby_acunetix/ra_cwe.rb', line 4 def initialize(id, text) self.id = id self.text = text end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
2 3 4 |
# File 'lib/ruby_acunetix/ra_cwe.rb', line 2 def id @id end |
#text ⇒ Object
Returns the value of attribute text.
2 3 4 |
# File 'lib/ruby_acunetix/ra_cwe.rb', line 2 def text @text end |
#year ⇒ Object
Returns the value of attribute year.
2 3 4 |
# File 'lib/ruby_acunetix/ra_cwe.rb', line 2 def year @year end |