Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/phone_cutter.rb
Instance Method Summary collapse
Instance Method Details
#phone_cutter ⇒ Object
2 3 4 |
# File 'lib/phone_cutter.rb', line 2 def phone_cutter self.gsub(/#{CONFIG[:access_cards_info][:phone_cutter]}/, '') end |
#phone_cutter_cc ⇒ Object
6 7 8 |
# File 'lib/phone_cutter.rb', line 6 def phone_cutter_cc self.sub(/#{CONFIG[:access_cards_info][:phone_cutter_cc]}/, '') end |