Class: Demografix::NationalizePrediction

Inherits:
Data
  • Object
show all
Defined in:
lib/demografix/models.rb

Overview

A single nationalize prediction. country is an array of NationalizeCountry, descending by probability, possibly empty.

Instance Attribute Summary collapse

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



20
21
22
# File 'lib/demografix/models.rb', line 20

def count
  @count
end

#countryObject (readonly)

Returns the value of attribute country

Returns:

  • (Object)

    the current value of country



20
21
22
# File 'lib/demografix/models.rb', line 20

def country
  @country
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



20
21
22
# File 'lib/demografix/models.rb', line 20

def name
  @name
end