Exception: Ruote::Exp::Condition::ConditionError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/ruote/exp/condition.rb

Overview

A runtime error for unusable comparison strings.

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ ConditionError

Returns a new instance of ConditionError.



39
40
41
42
43
44
# File 'lib/ruote/exp/condition.rb', line 39

def initialize(code)

  super(
    "couldn't interpret >#{code}<, " +
    "if it comes from a ${xx} construct, please use ${\"xx} or ${'yy}")
end