Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/phone_cutter.rb

Instance Method Summary collapse

Instance Method Details

#phone_cutterObject



2
3
4
# File 'lib/phone_cutter.rb', line 2

def phone_cutter
  self.gsub(/#{CONFIG[:access_cards_info][:phone_cutter]}/, '')
end

#phone_cutter_ccObject



6
7
8
# File 'lib/phone_cutter.rb', line 6

def phone_cutter_cc
  self.sub(/#{CONFIG[:access_cards_info][:phone_cutter_cc]}/, '')
end