Class: Pinspec::Validate::PinScorer::Score
- Inherits:
-
Data
- Object
- Data
- Pinspec::Validate::PinScorer::Score
- Defined in:
- lib/pinspec/validate/pin_scorer.rb
Instance Attribute Summary collapse
-
#aspect ⇒ Object
readonly
Returns the value of attribute aspect.
-
#killed ⇒ Object
readonly
Returns the value of attribute killed.
-
#note ⇒ Object
readonly
Returns the value of attribute note.
-
#score ⇒ Object
readonly
Returns the value of attribute score.
-
#survived ⇒ Object
readonly
Returns the value of attribute survived.
-
#survivors ⇒ Object
readonly
Returns the value of attribute survivors.
-
#verdict ⇒ Object
readonly
Returns the value of attribute verdict.
Instance Method Summary collapse
Instance Attribute Details
#aspect ⇒ Object (readonly)
Returns the value of attribute aspect
14 15 16 |
# File 'lib/pinspec/validate/pin_scorer.rb', line 14 def aspect @aspect end |
#killed ⇒ Object (readonly)
Returns the value of attribute killed
14 15 16 |
# File 'lib/pinspec/validate/pin_scorer.rb', line 14 def killed @killed end |
#note ⇒ Object (readonly)
Returns the value of attribute note
14 15 16 |
# File 'lib/pinspec/validate/pin_scorer.rb', line 14 def note @note end |
#score ⇒ Object (readonly)
Returns the value of attribute score
14 15 16 |
# File 'lib/pinspec/validate/pin_scorer.rb', line 14 def score @score end |
#survived ⇒ Object (readonly)
Returns the value of attribute survived
14 15 16 |
# File 'lib/pinspec/validate/pin_scorer.rb', line 14 def survived @survived end |
#survivors ⇒ Object (readonly)
Returns the value of attribute survivors
14 15 16 |
# File 'lib/pinspec/validate/pin_scorer.rb', line 14 def survivors @survivors end |
#verdict ⇒ Object (readonly)
Returns the value of attribute verdict
14 15 16 |
# File 'lib/pinspec/validate/pin_scorer.rb', line 14 def verdict @verdict end |
Instance Method Details
#strong? ⇒ Boolean
15 16 17 |
# File 'lib/pinspec/validate/pin_scorer.rb', line 15 def strong? verdict == :strong end |