rgviz 0.6 → 0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/rgviz/table.rb +24 -0
  2. data/lib/rgviz.rb +1 -0
  3. metadata +4 -3
@@ -0,0 +1,24 @@
1
+ module Rgviz
2
+ class Table
3
+ attr_accessor :columns
4
+ attr_accessor :rows
5
+ end
6
+
7
+ class Column
8
+ attr_accessor :id
9
+ attr_accessor :label
10
+ attr_accessor :type
11
+ attr_accessor :pattern
12
+ attr_accessor :p
13
+ end
14
+
15
+ class Row
16
+ attr_accessor :c
17
+ end
18
+
19
+ class Cell
20
+ attr_accessor :v
21
+ attr_accessor :f
22
+ attr_accessor :p
23
+ end
24
+ end
data/lib/rgviz.rb CHANGED
@@ -3,6 +3,7 @@ require File.dirname(__FILE__) + '/rgviz/lexer'
3
3
  require File.dirname(__FILE__) + '/rgviz/parser'
4
4
  require File.dirname(__FILE__) + '/rgviz/nodes'
5
5
  require File.dirname(__FILE__) + '/rgviz/visitor'
6
+ require File.dirname(__FILE__) + '/rgviz/table'
6
7
 
7
8
  class ParseException < Exception
8
9
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgviz
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 6
9
- version: "0.6"
8
+ - 7
9
+ version: "0.7"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ary Borenszweig
@@ -33,6 +33,7 @@ files:
33
33
  - lib/rgviz/parser.rb
34
34
  - lib/rgviz/token.rb
35
35
  - lib/rgviz/visitor.rb
36
+ - lib/rgviz/table.rb
36
37
  has_rdoc: true
37
38
  homepage: http://code.google.com/p/rgviz
38
39
  licenses: []