Class: CountryCodes::Entry

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

Instance Attribute Summary collapse

Instance Attribute Details

#calling_codeObject

Returns the value of attribute calling_code

Returns:

  • (Object)

    the current value of calling_code



9
10
11
# File 'lib/country_codes.rb', line 9

def calling_code
  @calling_code
end

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



9
10
11
# File 'lib/country_codes.rb', line 9

def code
  @code
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/country_codes.rb', line 9

def name
  @name
end