Module: MirUtility::CoreExtensions::String::NumberHelper

Included in:
String
Defined in:
lib/mir_utility.rb

Overview

Add whatever helpers you want, then wrap any methods that you want from the

ActionView::Helpers::Foo class

Instance Method Summary collapse

Instance Method Details

#number_to_phone(s, options = {}) ⇒ Object



61
62
63
# File 'lib/mir_utility.rb', line 61

def number_to_phone(s, options = {})
  StringHelperSingleton.instance.number_to_phone(s, options)
end