Class: TrueClass
Overview
Extensions to the TrueClass class required by the fOOrth language system.
Instance Method Summary collapse
-
#foorth_embed ⇒ Object
Convert this object to a form suitable for embedding in a source string.
-
#to_foorth_b ⇒ Object
Convert this object to a fOOrth boolean.
Instance Method Details
#foorth_embed ⇒ Object
Convert this object to a form suitable for embedding in a source string.
Returns
-
An embeddable form of this object as a string.
14 15 16 |
# File 'lib/fOOrth/monkey_patch/true.rb', line 14 def 'true' end |
#to_foorth_b ⇒ Object
Convert this object to a fOOrth boolean.
7 8 9 |
# File 'lib/fOOrth/monkey_patch/true.rb', line 7 def to_foorth_b self end |