# File lib/kirbybase.rb, line 516 def get_table(name) raise('Do not call this method from a server instance!') if server? raise(ArgumentError, 'Table name must be a symbol!') unless \ name.is_a?(Symbol) raise('Table not found!') unless table_exists?(name) if @table_hash.has_key?(name) return @table_hash[name] else @table_hash[name] = \ KBTable.create_called_from_database_instance(self, name, File.join(@path, name.to_s + @ext)) return @table_hash[name] end end