Class | Lisp::Format::Directives::Print |
In: |
lib/facet/lisp-format.rb
|
Parent: | Directive |
Super-class for ‘printing’ directives, namely ~A (Ascii) and ~S (SExpression). These directives print, in some sense, their argument in a Ruby friendly manner. This means that their argument is either converted to a string using Object#to_s or Object#inspect.
All parameters except inspect are simply passed on to Directive#initialize. If inspect is true, string arguments are inspected as well as all other objects.
Output the given argument as it generally prints in Ruby. The full form is:
~mincol,colinc,minpad,padchar:@[AS]
with the following interpretations