Method: Elus::Rule#name
- Defined in:
- lib/elus/rule.rb
#name ⇒ Object
Returns full text name of this Rule
20 21 22 |
# File 'lib/elus/rule.rb', line 20 def name "If last Piece is #{@condition.name} Piece, #{@yes.name} Piece is next" + if @no then ", otherwise #{@no.name} Piece is next" else "" end end |