Method: PLA::Vessel#initialize
- Defined in:
- lib/pla/vessel.rb
#initialize(name, country, agent) ⇒ Vessel
Returns a new instance of Vessel.
5 6 7 8 9 |
# File 'lib/pla/vessel.rb', line 5 def initialize name, country, agent @name = name @country = normalise_country(country) @agent = agent end |