Class: Phony::NationalSplitters::DSL

Inherits:
Object
  • Object
show all
Defined in:
lib/phony/national_splitters/dsl.rb

Overview

TODO

Direct Known Subclasses

Default, Fixed

Instance Method Summary collapse

Instance Method Details

#>>(local_splitter) ⇒ Object



11
12
13
# File 'lib/phony/national_splitters/dsl.rb', line 11

def >> local_splitter
  country_for local_splitter
end

#country_for(local_splitter) ⇒ Object



17
18
19
# File 'lib/phony/national_splitters/dsl.rb', line 17

def country_for local_splitter
  Phony::Country.new Phony::NationalCode.new(self, local_splitter)
end

#reservedObject

TODO Remove?



23
24
25
# File 'lib/phony/national_splitters/dsl.rb', line 23

def reserved

end