phony_rails 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -0
- data/lib/phony_rails/string_extensions.rb +1 -2
- data/lib/phony_rails/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -5,8 +5,7 @@
|
|
5
5
|
# "31612341234".phony_formatted # => '06 12341234'
|
6
6
|
# "31612341234".phony_formatted(:spaces => '-') # => '06-12341234'
|
7
7
|
def phony_formatted(options = {})
|
8
|
-
options
|
9
|
-
Phony.formatted(self, options)
|
8
|
+
Phony.formatted(self, options.reverse_merge(:format => :national))
|
10
9
|
end
|
11
10
|
|
12
11
|
end
|
data/lib/phony_rails/version.rb
CHANGED