Class: TellIo::Countries::Country
- Inherits:
-
Object
- Object
- TellIo::Countries::Country
- Defined in:
- lib/countries/country.rb
Class Method Summary collapse
Class Method Details
.format(phone) ⇒ Object
10 11 12 |
# File 'lib/countries/country.rb', line 10 def self.format(phone) raise NotImplementedError, "Each country must implement the `format` method" end |
.generate ⇒ Object
14 15 16 |
# File 'lib/countries/country.rb', line 14 def self.generate raise NotImplementedError, "Each country must implement the `generate` method" end |
.valid?(phone) ⇒ Boolean
6 7 8 |
# File 'lib/countries/country.rb', line 6 def self.valid?(phone) raise NotImplementedError, "Each country must implement the `valid?` method" end |