Class: InciScore::Recognizer::Component

Inherits:
Struct
  • Object
show all
Defined in:
lib/inci_score/recognizer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#hazardObject

Returns the value of attribute hazard

Returns:

  • (Object)

    the current value of hazard



7
8
9
# File 'lib/inci_score/recognizer.rb', line 7

def hazard
  @hazard
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'lib/inci_score/recognizer.rb', line 7

def name
  @name
end