Class: Defmastership::Export::CSV::Formatter::Helper::MethodSpec

Inherits:
Struct
  • Object
show all
Defined in:
lib/defmastership/export/csv/formatter.rb

Overview

2-uplet with one method to include or not depending of a lambda guard

Instance Attribute Summary collapse

Instance Attribute Details

#column_methodObject

Returns the value of attribute column_method

Returns:

  • (Object)

    the current value of column_method



46
47
48
# File 'lib/defmastership/export/csv/formatter.rb', line 46

def column_method
  @column_method
end

#guardObject

Returns the value of attribute guard

Returns:

  • (Object)

    the current value of guard



46
47
48
# File 'lib/defmastership/export/csv/formatter.rb', line 46

def guard
  @guard
end