Class: Iba::DisplayableExpression
- Inherits:
-
BaseExpression
- Object
- BaseExpression
- Iba::DisplayableExpression
- Defined in:
- lib/iba.rb
Direct Known Subclasses
InstanceVariableExpression, LocalVariableExpression, MethodCallExpression
Instance Method Summary collapse
Methods inherited from BaseExpression
#!=, #==, #_display_subexpressions, #_wrap, #coerce, #method_missing, #respond_to_missing?, #to_s
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Iba::BaseExpression
Instance Method Details
#_display(bnd) ⇒ Object
147 148 149 150 151 |
# File 'lib/iba.rb', line 147 def _display(bnd) str = _to_s value = _evaluate(bnd).inspect "#{str} is #{value}" end |