Class: NilClass
- Defined in:
- lib/fOOrth/monkey_patch/nil.rb,
lib/fOOrth/library/formatting/nil.rb
Overview
-
library/formatting/nil.rb - Support for displaying nothing formatted neatly.
Instance Method Summary collapse
-
#foorth_embed ⇒ Object
Returns * An embeddable form of this object as a string. -
#format_description(_max_width) ⇒ Object
Create a bullet point description from nothing.
-
#to_foorth_b ⇒ Object
Convert this object to a fOOrth boolean.
Instance Method Details
#foorth_embed ⇒ Object
Returns
-
An embeddable form of this object as a string.
14 15 16 |
# File 'lib/fOOrth/monkey_patch/nil.rb', line 14 def 'nil' end |
#format_description(_max_width) ⇒ Object
Create a bullet point description from nothing.
7 8 9 |
# File 'lib/fOOrth/library/formatting/nil.rb', line 7 def format_description(_max_width) [] end |
#to_foorth_b ⇒ Object
Convert this object to a fOOrth boolean.
7 8 9 |
# File 'lib/fOOrth/monkey_patch/nil.rb', line 7 def to_foorth_b false end |