Class: GcigCa125::Result
- Inherits:
-
Object
- Object
- GcigCa125::Result
- Defined in:
- lib/gcig_ca125/result.rb
Instance Method Summary collapse
- #evaluable? ⇒ Boolean
-
#initialize(eva, res, norm) ⇒ Result
constructor
A new instance of Result.
- #message ⇒ Object
- #normalised? ⇒ Boolean
- #response? ⇒ Boolean
- #to_s ⇒ Object
Constructor Details
#initialize(eva, res, norm) ⇒ Result
Returns a new instance of Result.
3 4 5 6 7 |
# File 'lib/gcig_ca125/result.rb', line 3 def initialize(eva, res, norm) @evaluable = eva @response = res @normalised = norm end |
Instance Method Details
#evaluable? ⇒ Boolean
16 17 18 |
# File 'lib/gcig_ca125/result.rb', line 16 def evaluable? @evaluable end |
#message ⇒ Object
12 13 14 |
# File 'lib/gcig_ca125/result.rb', line 12 def self.to_s end |
#normalised? ⇒ Boolean
24 25 26 |
# File 'lib/gcig_ca125/result.rb', line 24 def normalised? @normalised end |
#response? ⇒ Boolean
20 21 22 |
# File 'lib/gcig_ca125/result.rb', line 20 def response? @response end |
#to_s ⇒ Object
8 9 10 |
# File 'lib/gcig_ca125/result.rb', line 8 def to_s "Not evaluable" end |