Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/client/render/view/table/processor.rb

Overview

we override String here to give power to our mutators defined in TableDefintions

Instance Method Summary collapse

Instance Method Details

#get_dateObject



26
27
28
# File 'lib/client/render/view/table/processor.rb', line 26

def get_date
  DateTime.parse(self).strftime('%H:%M:%S %d/%m/%y') unless self.nil?
end