module GuardedAsync
Public Instance Methods
coll_type(nm)
click to toggle source
# File lib/bud/labeling/labeling.rb, line 176 def coll_type(nm) tab = self.tables[nm.to_sym] if tab.nil? tab = self.lattices[nm.to_sym] end tab.class end
guarded(lpath, rpath)
click to toggle source
# File lib/bud/labeling/labeling.rb, line 184 def guarded(lpath, rpath) if lpath.include? Bud::BudTable or lpath.include? Bud::LatticeWrapper if rpath.include? Bud::BudTable or rpath.include? Bud::LatticeWrapper return true end end false end