Class: Matest::EvalErr
- Inherits:
-
Object
- Object
- Matest::EvalErr
- Defined in:
- lib/matest/evaluator.rb
Instance Method Summary collapse
-
#initialize(str) ⇒ EvalErr
constructor
A new instance of EvalErr.
- #inspect ⇒ Object
- #size ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(str) ⇒ EvalErr
Returns a new instance of EvalErr.
3 4 5 |
# File 'lib/matest/evaluator.rb', line 3 def initialize(str) @string = str end |
Instance Method Details
#inspect ⇒ Object
12 13 14 |
# File 'lib/matest/evaluator.rb', line 12 def inspect @string end |
#size ⇒ Object
6 7 8 |
# File 'lib/matest/evaluator.rb', line 6 def size inspect.size end |
#to_s ⇒ Object
9 10 11 |
# File 'lib/matest/evaluator.rb', line 9 def to_s @string end |