Class: NattyUI::Section
- Includes:
- WithStatus
- Defined in:
- lib/natty-ui/section.rb
Overview
Display section used by
Instance Attribute Summary collapse
-
#active? ⇒ true, false
included
from WithStatus
readonly
Whether the element is still active.
-
#closed? ⇒ true, false
included
from WithStatus
readonly
Whether the element is completed.
-
#failed? ⇒ true, false
included
from WithStatus
readonly
Whether the element is completed with failure.
-
#status ⇒ Symbol?
included
from WithStatus
readonly
Element's current status.
Instance Method Summary collapse
-
#failed(*text) {|failed| ... } ⇒ Element
included
from WithStatus
Close the element with a failure.
-
#ok(*text) ⇒ Element
(also: #done)
included
from WithStatus
Close the element.
-
#ok? ⇒ true, false
included
from WithStatus
Whether the element is completed.
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
#status ⇒ Symbol? (readonly) Originally defined in module WithStatus
Instance Method Details
#failed(*text) {|failed| ... } ⇒ Element Originally defined in module WithStatus
Close the element with a failure.
#ok(*text) ⇒ Element Also known as: done Originally defined in module WithStatus
Close the element.