Class: CountryCodeLite::Entry

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

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



10
11
12
# File 'lib/country_code_lite.rb', line 10

def code
  @code
end

#en_nameObject

Returns the value of attribute en_name

Returns:

  • (Object)

    the current value of en_name



10
11
12
# File 'lib/country_code_lite.rb', line 10

def en_name
  @en_name
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



10
11
12
# File 'lib/country_code_lite.rb', line 10

def name
  @name
end

#numberObject

Returns the value of attribute number

Returns:

  • (Object)

    the current value of number



10
11
12
# File 'lib/country_code_lite.rb', line 10

def number
  @number
end