module Sequel::Plugins::JoinByPaths::ClassMethods
Attributes
alias_cnt[R]
aliases_sym[R]
Public Instance Methods
create_path_node(pstr)
click to toggle source
# File lib/sequel/plugins/join_by_paths.rb, line 208 def create_path_node(pstr) PathNode.new(pstr, self) end
get_alias_sym(pstr)
click to toggle source
# File lib/sequel/plugins/join_by_paths.rb, line 199 def get_alias_sym(pstr) if @aliases_sym.key?(pstr) @aliases_sym[pstr] else @alias_cnt += 1 @aliases_sym[pstr] = "a#{@alias_cnt}".to_sym end end
join_by_paths_helper(*pathlist)
click to toggle source
# File lib/sequel/plugins/join_by_paths.rb, line 212 def join_by_paths_helper(*pathlist) jh = JoinByPathsHelper.new(self) pathlist.each { |path_str| jh.add path_str } jh end