Class Lisp::Format::Directives::BeginCaseConversion
In: lib/facet/lisp-format.rb
Parent: Directive

Represents the ~( (Begin case-conversion) directive. Everything contained within it and its matching pair ~) (End case-conversion) directive is subject to case conversion, such as upcasing or capitalization.

Methods

execute  

Public Instance methods

Outputs the contained output case converted using some method that depends on the combination of modifiers given to this directive. The full form is

  ~:@(

with the following interpretations

no modifiers
output is downcased,
:
every word is capitalized in the output,
@
the first word is capitalized in the output,
:@
output is upcased.

[Validate]