Class: CSVDecision::Dictionary::Entry Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/csv_decision/dictionary.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

Instance Method Summary collapse

Instance Attribute Details

#evalObject

Returns the value of attribute eval

Returns:

  • (Object)

    the current value of eval



23
24
25
# File 'lib/csv_decision/dictionary.rb', line 23

def eval
  @eval
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



23
24
25
# File 'lib/csv_decision/dictionary.rb', line 23

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



23
24
25
# File 'lib/csv_decision/dictionary.rb', line 23

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.

Returns:

  • (Boolean)


24
25
26
# File 'lib/csv_decision/dictionary.rb', line 24

def ins?
  i[in guard].member?(type) ? true : false
end