Class: Clickwrap::Linter::Finding
- Inherits:
-
Data
- Object
- Data
- Clickwrap::Linter::Finding
- Defined in:
- lib/clickwrap/linter.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#context ⇒ Object
readonly
Returns the value of attribute context.
-
#explanation ⇒ Object
readonly
Returns the value of attribute explanation.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code
28 29 30 |
# File 'lib/clickwrap/linter.rb', line 28 def code @code end |
#context ⇒ Object (readonly)
Returns the value of attribute context
28 29 30 |
# File 'lib/clickwrap/linter.rb', line 28 def context @context end |
#explanation ⇒ Object (readonly)
Returns the value of attribute explanation
28 29 30 |
# File 'lib/clickwrap/linter.rb', line 28 def explanation @explanation end |
Instance Method Details
#to_s ⇒ Object
29 |
# File 'lib/clickwrap/linter.rb', line 29 def to_s = "#{code}: #{explanation}" |