Module: Confabulator::ConfabulatorLanguage::Protected2
- Defined in:
- lib/confabulator/language.rb
Instance Method Summary collapse
Instance Method Details
#compose(kb = nil) ⇒ Object
308 309 310 311 312 |
# File 'lib/confabulator/language.rb', line 308 def compose(kb = nil) words.elements.map { |element| element.text_value == "\\`" ? "`" : element.text_value }.join end |