diff --git a/exercises/concept/port-palermo/.docs/instructions.md b/exercises/concept/port-palermo/.docs/instructions.md index d86048b284..55ed157cd0 100644 --- a/exercises/concept/port-palermo/.docs/instructions.md +++ b/exercises/concept/port-palermo/.docs/instructions.md @@ -12,10 +12,10 @@ The system has to handle identifiers for ships, but also for destinations. The first thing you need to do is to create the identifier for the port of Palermo. The identifier are the first four letters of the name of the port, in uppercase. -Define the `Port.Identifier` constant to be a symbol with the value `:PALE`. +Define the `Port::IDENTIFIER` constant to be a symbol with the value `:PALE`. ```ruby -Port::Identifier +Port::IDENTIFIER # => :PALE ``` diff --git a/exercises/concept/port-palermo/.meta/config.json b/exercises/concept/port-palermo/.meta/config.json index 98681fb400..8d024e8f15 100644 --- a/exercises/concept/port-palermo/.meta/config.json +++ b/exercises/concept/port-palermo/.meta/config.json @@ -14,5 +14,6 @@ ] }, "icon": "strings-package", - "blurb": "Learn about the symbols while helping out with modernize the ports of Palermo computer system." + "blurb": "Learn about the symbols while helping out with modernize the ports of Palermo computer system.", + "contributors": ["egemen-dev"] } diff --git a/exercises/concept/port-palermo/.meta/exemplar.rb b/exercises/concept/port-palermo/.meta/exemplar.rb index f717c949d8..1565747531 100644 --- a/exercises/concept/port-palermo/.meta/exemplar.rb +++ b/exercises/concept/port-palermo/.meta/exemplar.rb @@ -1,5 +1,5 @@ module Port - Identifier = :PALE + IDENTIFIER = :PALE def self.get_identifier(city) return city[0..3].upcase.to_sym diff --git a/exercises/concept/port-palermo/port_palermo.rb b/exercises/concept/port-palermo/port_palermo.rb index d4d4c3d587..3cc764e099 100644 --- a/exercises/concept/port-palermo/port_palermo.rb +++ b/exercises/concept/port-palermo/port_palermo.rb @@ -1,5 +1,5 @@ module Port - # TODO: define the 'Identifier' constant + # TODO: define the 'IDENTIFIER' constant def self.get_identifier(city) raise 'Please implement the Port.get_identifier method' diff --git a/exercises/concept/port-palermo/port_palermo_test.rb b/exercises/concept/port-palermo/port_palermo_test.rb index 0a6abd92cc..36c76863ec 100644 --- a/exercises/concept/port-palermo/port_palermo_test.rb +++ b/exercises/concept/port-palermo/port_palermo_test.rb @@ -3,7 +3,7 @@ class MoviegoerTest < Minitest::Test def test_identifier - assert_equal :PALE, Port::Identifier + assert_equal :PALE, Port::IDENTIFIER end def test_get_identifier_for_hamburg