Class: Realize::Format::Uppercase

Inherits:
Object
  • Object
show all
Defined in:
lib/realize/format/uppercase.rb

Overview

Call #to_s.downcase on the value and return result.

Instance Method Summary collapse

Instance Method Details

#transform(_resolver, value, _time, _record) ⇒ Object



16
17
18
# File 'lib/realize/format/uppercase.rb', line 16

def transform(_resolver, value, _time, _record)
  value.to_s.upcase
end