Method: Unit::Types::Phone#initialize
- Defined in:
- lib/unit/types/phone.rb
#initialize(country_code, number) ⇒ Phone
Returns a new instance of Phone.
10 11 12 13 |
# File 'lib/unit/types/phone.rb', line 10 def initialize(country_code, number) @country_code = country_code @number = number end |