Module: OraUtils::Mungers::LeaveSidRestToUppercase

Defined in:
lib/orabase/utils/mungers.rb

Overview

Define some Oracle specific mungers

Instance Method Summary collapse

Instance Method Details

#unsafe_munge(original_value) ⇒ Object

This munger extracts the sid from the value and uppercases therest of the value. The sid remains as it is.



16
17
18
19
# File 'lib/orabase/utils/mungers.rb', line 16

def unsafe_munge(original_value)
 value, _, sid = original_value.partition('@') 
  "#{value.upcase}@#{sid}"
end