Class CKConditional
In: lib/cgikit.rb
Parent: CKElement

Controls generating HTML.

Bindings

Required attribute: condition

condition:If the value is true and "negate" is false, the body of the CKCoditional tag is displayed.
negate:Inverts the meaning of the "condition".

Control table

  condition  negate  result
  true       false   show
  false      false   not show
  true       true    not show
  false      false   show
Methods
run    to_s   
Public Instance methods
run()
to_s()