prettypretty 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/ppp/ppp.rb CHANGED
@@ -1,7 +1,9 @@
1
1
  module PPP
2
- def ppp(object)
3
- str = prettify(object)
4
- puts str
2
+ def ppp(*objects)
3
+ objects.each do |o|
4
+ str = prettify(o)
5
+ puts str
6
+ end
5
7
  end
6
8
 
7
9
  def prettify(object)
data/lib/ppp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module PPP
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/test/test.rb CHANGED
@@ -39,3 +39,7 @@ obj = MyClass.new(5)
39
39
  puts "-"*8
40
40
  puts(obj.to_s)
41
41
  ppp obj
42
+
43
+ puts "-"*8
44
+ puts "true", false
45
+ ppp "true", false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prettypretty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: