vendor/bundle/ruby/2.2.0/gems/phonelib-0.3.5/lib/phonelib/phone_analyzer.rb
# Checks if fixed line pattern and mobile pattern are the same and returns
# appropriate keys
#
# ==== Attributes
#
# * +data+  - country data
Checks if fixed line pattern and mobile pattern are the same and returns
appropriate keys

Attributes

+data+  - country data
Checks if fixed line pattern and mobile pattern are the same and returns appropriate keys Attributes + data + - country data
def fixed_and_mobile_keys(data)
      if data[Core::FIXED_LINE] == data[Core::MOBILE]
        [Core::FIXED_OR_MOBILE]
      else
        [Core::FIXED_LINE, Core::MOBILE]
      end
    end
def fixed_and_mobile_keys ( data ) if data [ Core :: FIXED_LINE ] == data [ Core :: MOBILE ] [ Core :: FIXED_OR_MOBILE ] else [ Core :: FIXED_LINE , Core :: MOBILE ] end end
Checks if fixed line pattern and mobile pattern are the same and returns
appropriate keys
Checks if fixed line pattern and mobile pattern are the same and returns appropriate keys
data
<not_specific>