class JunglePath::Gen::SchemaTree::MatchTableData
Attributes
columns[R]
name[R]
regexp[R]
Public Class Methods
new(name, columns)
click to toggle source
# File lib/jungle_path/gen/schema_tree/match_table_data.rb, line 7 def initialize name, columns @name = name @columns = JunglePath::Gen::SchemaTree::MatchColumns.new(columns) @regexp = @name if @name and @name.class == Regexp end
Public Instance Methods
nil_columns?()
click to toggle source
# File lib/jungle_path/gen/schema_tree/match_table_data.rb, line 13 def nil_columns? @columns.is_nil end
to_s()
click to toggle source
# File lib/jungle_path/gen/schema_tree/match_table_data.rb, line 17 def to_s "name: #{@name}, columns: #{@columns}, regexp: #{@regexp}." end