Class: NattyUI::Section

Inherits:
Element show all
Includes:
WithStatus
Defined in:
lib/natty-ui/section.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#active?true, false (readonly) Originally defined in module WithStatus

#closed?true, false (readonly) Originally defined in module WithStatus

#failed?true, false (readonly) Originally defined in module WithStatus

#statusSymbol? (readonly) Originally defined in module WithStatus

Instance Method Details

#failed(*text) {|failed| ... } ⇒ Element Originally defined in module WithStatus

Close the element with a failure.

Yields:

  • optionally, when block is given

Yield Parameters:

#ok(*text) ⇒ Element Also known as: done Originally defined in module WithStatus

Close the element.

#ok?true, false Originally defined in module WithStatus