Class: Pinspec::Validate::PinScorer::Score

Inherits:
Data
  • Object
show all
Defined in:
lib/pinspec/validate/pin_scorer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#aspectObject (readonly)

Returns the value of attribute aspect

Returns:

  • (Object)

    the current value of aspect



14
15
16
# File 'lib/pinspec/validate/pin_scorer.rb', line 14

def aspect
  @aspect
end

#killedObject (readonly)

Returns the value of attribute killed

Returns:

  • (Object)

    the current value of killed



14
15
16
# File 'lib/pinspec/validate/pin_scorer.rb', line 14

def killed
  @killed
end

#noteObject (readonly)

Returns the value of attribute note

Returns:

  • (Object)

    the current value of note



14
15
16
# File 'lib/pinspec/validate/pin_scorer.rb', line 14

def note
  @note
end

#scoreObject (readonly)

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



14
15
16
# File 'lib/pinspec/validate/pin_scorer.rb', line 14

def score
  @score
end

#survivedObject (readonly)

Returns the value of attribute survived

Returns:

  • (Object)

    the current value of survived



14
15
16
# File 'lib/pinspec/validate/pin_scorer.rb', line 14

def survived
  @survived
end

#survivorsObject (readonly)

Returns the value of attribute survivors

Returns:

  • (Object)

    the current value of survivors



14
15
16
# File 'lib/pinspec/validate/pin_scorer.rb', line 14

def survivors
  @survivors
end

#verdictObject (readonly)

Returns the value of attribute verdict

Returns:

  • (Object)

    the current value of verdict



14
15
16
# File 'lib/pinspec/validate/pin_scorer.rb', line 14

def verdict
  @verdict
end

Instance Method Details

#strong?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/pinspec/validate/pin_scorer.rb', line 15

def strong?
  verdict == :strong
end