readable_message 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/readable_message.rb +6 -4
- data/lib/readable_message/version.rb +1 -1
- data/spec/readable_message_spec.rb +2 -2
- metadata +1 -1
data/lib/readable_message.rb
CHANGED
@@ -43,8 +43,10 @@ module ReadableMessage
|
|
43
43
|
|
44
44
|
end
|
45
45
|
|
46
|
-
|
47
|
-
def
|
48
|
-
ReadableMessage::Formatter.new(
|
46
|
+
class Object
|
47
|
+
def to_readable(*args)
|
48
|
+
ReadableMessage::Formatter.new(self, args).to_s
|
49
49
|
end
|
50
|
-
end
|
50
|
+
end
|
51
|
+
|
52
|
+
"brandon".to_readable
|