Class: Factbook::Codes::Code
- Inherits:
-
Struct
- Object
- Struct
- Factbook::Codes::Code
- Defined in:
- lib/factbook-codes/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
11 12 13 |
# File 'lib/factbook-codes/codes.rb', line 11 def category @category end |
#code ⇒ Object
Returns the value of attribute code
11 12 13 |
# File 'lib/factbook-codes/codes.rb', line 11 def code @code end |
#name ⇒ Object
Returns the value of attribute name
11 12 13 |
# File 'lib/factbook-codes/codes.rb', line 11 def name @name end |
#region ⇒ Object
Returns the value of attribute region
11 12 13 |
# File 'lib/factbook-codes/codes.rb', line 11 def region @region end |