method
new
v4.2.7 -
Show latest stable
- Class:
ActionView::Helpers::DateTimeSelector
new(datetime, options = {}, html_options = {})public
No documentation available.
# File actionview/lib/action_view/helpers/date_helper.rb, line 682
def initialize(datetime, options = {}, html_options = {})
@options = options.dup
@html_options = html_options.dup
@datetime = datetime
@options[:datetime_separator] ||= ' — '
@options[:time_separator] ||= ' : '
end