Class: Smartdown::Model::Predicate::Otherwise
- Inherits:
-
Object
- Object
- Smartdown::Model::Predicate::Otherwise
- Defined in:
- lib/smartdown/model/predicate/otherwise.rb
Instance Method Summary collapse
Instance Method Details
#==(o) ⇒ Object
9 10 11 |
# File 'lib/smartdown/model/predicate/otherwise.rb', line 9 def ==(o) o.class == self.class end |
#evaluate(state) ⇒ Object
5 6 7 |
# File 'lib/smartdown/model/predicate/otherwise.rb', line 5 def evaluate(state) true end |
#humanize ⇒ Object
13 14 15 |
# File 'lib/smartdown/model/predicate/otherwise.rb', line 13 def humanize "otherwise" end |