readable_message 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -19,9 +19,9 @@ Or install it yourself as:
19
19
 
20
20
  ## Usage
21
21
 
22
- `console(e, *args)` // Takes a string or any object that responds to :class, :message, and/or :backtrace
22
+ `obj.to_readable(*args)` // Takes a string or any object that responds to :class, :message, and/or :backtrace
23
23
  or
24
- `ReadableMessage::Formatter.new(e, *args).to_s`
24
+ `ReadableMessage::Formatter.new(obj, *args).to_s`
25
25
 
26
26
  where `*args` is a list of methods that should be called on the object (to_s, to_i, backtrace, etc)
27
27
 
@@ -47,6 +47,4 @@ class Object
47
47
  def to_readable(*args)
48
48
  ReadableMessage::Formatter.new(self, args).to_s
49
49
  end
50
- end
51
-
52
- "brandon".to_readable
50
+ end
@@ -1,3 +1,3 @@
1
1
  module ReadableMessage
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: readable_message
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: