Class: AdLint::Cc1::TrivialValueTest
- Defined in:
- lib/adlint/cc1/value.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Attributes inherited from ValueTest
Instance Method Summary collapse
-
#initialize(rslt) ⇒ TrivialValueTest
constructor
A new instance of TrivialValueTest.
Methods inherited from ValueTest
Constructor Details
#initialize(rslt) ⇒ TrivialValueTest
Returns a new instance of TrivialValueTest.
353 354 355 356 |
# File 'lib/adlint/cc1/value.rb', line 353 def initialize(rslt) super(TrivialTestEvidence.new) @result = rslt end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
358 359 360 |
# File 'lib/adlint/cc1/value.rb', line 358 def result @result end |