Module: Lhm::Intersection::Joiners

Defined in:
lib/lhm/intersection.rb

Instance Method Summary collapse

Instance Method Details

#escapedObject



28
29
30
# File 'lib/lhm/intersection.rb', line 28

def escaped
  map { |name| tick(name)  }
end

#joinedObject



32
33
34
# File 'lib/lhm/intersection.rb', line 32

def joined
  escaped.join(', ')
end

#typed(type) ⇒ Object



36
37
38
# File 'lib/lhm/intersection.rb', line 36

def typed(type)
  map { |name| qualified(name, type)  }.join(', ')
end