Flowdock
method

new_date

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: Date
new_date(year, mon, mday) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/type/date.rb, line 38
      def new_date(year, mon, mday)
        if year && year != 0
          ::Date.new(year, mon, mday) rescue nil
        end
      end
Register or log in to add new notes.