Class: WhatLanguage::Result

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

Instance Attribute Summary collapse

Instance Attribute Details

#isoObject

Returns the value of attribute iso

Returns:

  • (Object)

    the current value of iso



13
14
15
# File 'lib/whatlanguage.rb', line 13

def iso
  @iso
end

#languageObject

Returns the value of attribute language

Returns:

  • (Object)

    the current value of language



13
14
15
# File 'lib/whatlanguage.rb', line 13

def language
  @language
end

#rankedObject Also known as: scores

Returns the value of attribute ranked

Returns:

  • (Object)

    the current value of ranked



13
14
15
# File 'lib/whatlanguage.rb', line 13

def ranked
  @ranked
end

#scoreObject

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



13
14
15
# File 'lib/whatlanguage.rb', line 13

def score
  @score
end