Class: ONIX::ONIX21::Territory
- Inherits:
-
Object
- Object
- ONIX::ONIX21::Territory
- Defined in:
- lib/onix/onix21.rb
Instance Attribute Summary collapse
-
#countries ⇒ Object
Returns the value of attribute countries.
Instance Method Summary collapse
- #+(v) ⇒ Object
- #-(v) ⇒ Object
-
#initialize(countries) ⇒ Territory
constructor
A new instance of Territory.
Constructor Details
#initialize(countries) ⇒ Territory
Returns a new instance of Territory.
120 121 122 |
# File 'lib/onix/onix21.rb', line 120 def initialize(countries) @countries = countries end |
Instance Attribute Details
#countries ⇒ Object
Returns the value of attribute countries.
118 119 120 |
# File 'lib/onix/onix21.rb', line 118 def countries @countries end |