module Sequel::UnmodifiedIdentifiers::DatasetMethods
Private Instance Methods
input_identifier(v)
click to toggle source
Turn the given symbol/string into a string, keeping the current case.
# File lib/sequel/adapters/utils/unmodified_identifiers.rb, line 21 def input_identifier(v) v.to_s end
output_identifier(v)
click to toggle source
Turn the given symbol/string into a symbol, keeping the current case.
# File lib/sequel/adapters/utils/unmodified_identifiers.rb, line 16 def output_identifier(v) v == '' ? :untitled : v.to_sym end