Module: Predicated::Conjunction

Included in:
And, Or
Defined in:
lib/predicated/to/sentence.rb

Instance Method Summary collapse

Instance Method Details

#to_negative_sentenceObject



11
12
13
# File 'lib/predicated/to/sentence.rb', line 11

def to_negative_sentence
  "This is not true: " + to_sentence
end

#to_sentenceObject



7
8
9
# File 'lib/predicated/to/sentence.rb', line 7

def to_sentence
  left.to_sentence + joining_str + right.to_sentence
end