Module: Confabulator::ConfabulatorLanguage::Choice1
- Defined in:
- lib/confabulator/language.rb
Instance Method Summary collapse
Instance Method Details
#sentence_or_empty ⇒ Object
97 98 99 |
# File 'lib/confabulator/language.rb', line 97 def sentence_or_empty elements[2] end |
#weight ⇒ Object
93 94 95 |
# File 'lib/confabulator/language.rb', line 93 def weight elements[1] end |