Object
# File lib/table_print/formatter.rb, line 3 def initialize(time_format=nil) @format = time_format @format ||= TablePrint::Config.time_format end
# File lib/table_print/formatter.rb, line 8 def format(value) return value unless value.is_a? Time value.strftime @format end
[Validate]
Generated with the Darkfish Rdoc Generator 2.