Class: CSVDecision::Columns::Entry Private
- Inherits:
-
Struct
- Object
- Struct
- CSVDecision::Columns::Entry
- Defined in:
- lib/csv_decision/columns.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Value object to hold column dictionary entries.
Instance Attribute Summary collapse
-
#eval ⇒ Object
Returns the value of attribute eval.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
- #ins? ⇒ Boolean private
Instance Attribute Details
#eval ⇒ Object
Returns the value of attribute eval
12 13 14 |
# File 'lib/csv_decision/columns.rb', line 12 def eval @eval end |
#name ⇒ Object
Returns the value of attribute name
12 13 14 |
# File 'lib/csv_decision/columns.rb', line 12 def name @name end |
#type ⇒ Object
Returns the value of attribute type
12 13 14 |
# File 'lib/csv_decision/columns.rb', line 12 def type @type end |
Instance Method Details
#ins? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
13 14 15 |
# File 'lib/csv_decision/columns.rb', line 13 def ins? %i[in guard].member?(type) ? true : false end |