Method: SafeType::Date#initialize
- Defined in:
- lib/safe_type/primitive/date.rb
#initialize(type: ::Date, from: nil, to: nil, **args) ⇒ Date
3 4 5 6 7 |
# File 'lib/safe_type/primitive/date.rb', line 3 def initialize(type: ::Date, from: nil, to: nil, **args) @from = from @to = to super end |