Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/view_processor/table_print.rb
Overview
we override String here to give power to our mutators defined in TableDefintions
Instance Method Summary collapse
Instance Method Details
#get_date ⇒ Object
28 29 30 |
# File 'lib/view_processor/table_print.rb', line 28 def get_date DateTime.parse(self).strftime('%H:%M:%S %d/%m/%y') unless self.nil? end |