Class: CSVPlusPlus::Entities::Entity
- Inherits:
-
Object
- Object
- CSVPlusPlus::Entities::Entity
- Extended by:
- T::Helpers, T::Sig
- Defined in:
- lib/csv_plus_plus/entities/entity.rb
Overview
All classes that are a part of an AST must implement this interface
Direct Known Subclasses
Boolean, Date, EntityWithArguments, Number, Reference, RuntimeValue, String
Instance Method Summary collapse
-
#==(other) ⇒ boolean
Each node in the AST needs to implement #== so we can compare entities for equality.
-
#evaluate(position) ⇒ ::String
Uses the given
position
to evaluate itself in the current context.
Instance Method Details
#==(other) ⇒ boolean
Each node in the AST needs to implement #== so we can compare entities for equality
19 |
# File 'lib/csv_plus_plus/entities/entity.rb', line 19 def ==(other); end |
#evaluate(position) ⇒ ::String
Uses the given position
to evaluate itself in the current context
29 |
# File 'lib/csv_plus_plus/entities/entity.rb', line 29 def evaluate(position); end |