Module: CSVPlusPlus::Entities::HasIdentifier

Extended by:
T::Sig
Included in:
Function, FunctionCall, Reference
Defined in:
lib/csv_plus_plus/entities/has_identifier.rb

Overview

Can be included on any class that has a comparable id

Instance Method Summary collapse

Instance Method Details

#identifier(symbol) ⇒ Object

Variables and functions are case insensitive. I hate it but it’s how excel is

Parameters:

  • symbol (Symbol)


14
15
16
# File 'lib/csv_plus_plus/entities/has_identifier.rb', line 14

def identifier(symbol)
  symbol.downcase
end