gviz 0.0.3 → 0.0.4

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.
Files changed (3) hide show
  1. data/lib/gviz.rb +2 -2
  2. data/lib/gviz/version.rb +1 -1
  3. metadata +1 -1
@@ -195,8 +195,8 @@ class Gviz
195
195
  end
196
196
  end
197
197
 
198
- def Graph(name, &blk)
199
- Gviz.new(name).graph(&blk)
198
+ def Graph(name=:G, type=:digraph, &blk)
199
+ Gviz.new(name, type).graph(&blk)
200
200
  end
201
201
 
202
202
  if __FILE__ == $0
@@ -1,3 +1,3 @@
1
1
  module Gviz
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gviz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: