method
new
new(datetime, options = {}, html_options = {})
public
Hide source
# File actionpack/lib/action_view/helpers/date_helper.rb, line 640 def initialize(datetime, options = {}, html_options = {}) @options = options.dup @html_options = html_options.dup @datetime = datetime @options[:datetime_separator] ||= ' — ' @options[:time_separator] ||= ' : ' end