lib/baza/index.rb in baza-0.0.20 vs lib/baza/index.rb in baza-0.0.21

- old
+ new

@@ -3,9 +3,16 @@ def to_s "#<#{self.class.name} name: \"#{name}\" unique=\"#{unique?}\" columns: #{@columns}>" end + def data + { + name: name, + columns: columns + } + end + def inspect to_s end def to_param