Class: Factbook::Codes::Code
- Inherits:
-
Struct
- Object
- Struct
- Factbook::Codes::Code
- Defined in:
- lib/factbook/codes.rb
Overview
todo: add notes (country affiliation) - why? why not??
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#code ⇒ Object
Returns the value of attribute code.
-
#name ⇒ Object
Returns the value of attribute name.
-
#region ⇒ Object
Returns the value of attribute region.
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category
13 14 15 |
# File 'lib/factbook/codes.rb', line 13 def category @category end |
#code ⇒ Object
Returns the value of attribute code
13 14 15 |
# File 'lib/factbook/codes.rb', line 13 def code @code end |
#name ⇒ Object
Returns the value of attribute name
13 14 15 |
# File 'lib/factbook/codes.rb', line 13 def name @name end |
#region ⇒ Object
Returns the value of attribute region
13 14 15 |
# File 'lib/factbook/codes.rb', line 13 def region @region end |