module Lhm::Intersection::Joiners
Public Instance Methods
escaped()
click to toggle source
# File lib/lhm/intersection.rb, line 28 def escaped map { |name| tick(name) } end
joined()
click to toggle source
# File lib/lhm/intersection.rb, line 32 def joined escaped.join(', ') end
typed(type)
click to toggle source
# File lib/lhm/intersection.rb, line 36 def typed(type) map { |name| qualified(name, type) }.join(', ') end
Private Instance Methods
qualified(name, type)
click to toggle source
# File lib/lhm/intersection.rb, line 42 def qualified(name, type) "`#{ type }`.`#{ name }`" end
tick(name)
click to toggle source
# File lib/lhm/intersection.rb, line 46 def tick(name) "`#{ name }`" end