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