Class: SixthSense::AnalyzerResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/sixth_sense/analyzer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#analyzer_idObject

Returns the value of attribute analyzer_id

Returns:

  • (Object)

    the current value of analyzer_id



6
7
8
# File 'lib/sixth_sense/analyzer.rb', line 6

def analyzer_id
  @analyzer_id
end

#axisObject

Returns the value of attribute axis

Returns:

  • (Object)

    the current value of axis



6
7
8
# File 'lib/sixth_sense/analyzer.rb', line 6

def axis
  @axis
end

#confidenceObject

Returns the value of attribute confidence

Returns:

  • (Object)

    the current value of confidence



6
7
8
# File 'lib/sixth_sense/analyzer.rb', line 6

def confidence
  @confidence
end

#findingsObject

Returns the value of attribute findings

Returns:

  • (Object)

    the current value of findings



6
7
8
# File 'lib/sixth_sense/analyzer.rb', line 6

def findings
  @findings
end

#measuredObject

Returns the value of attribute measured

Returns:

  • (Object)

    the current value of measured



6
7
8
# File 'lib/sixth_sense/analyzer.rb', line 6

def measured
  @measured
end

#scoreObject

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



6
7
8
# File 'lib/sixth_sense/analyzer.rb', line 6

def score
  @score
end

Instance Method Details

#measured?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/sixth_sense/analyzer.rb', line 7

def measured?
  measured != false && !score.nil?
end