Class: ReeDatetime::IsWeekend
- Inherits:
-
Object
- Object
- ReeDatetime::IsWeekend
- Includes:
- Ree::FnDSL
- Defined in:
- lib/ree_lib/packages/ree_datetime/package/ree_datetime/functions/is_weekend.rb
Instance Method Summary collapse
Instance Method Details
#call(date_time = nil) ⇒ Object
13 14 15 |
# File 'lib/ree_lib/packages/ree_datetime/package/ree_datetime/functions/is_weekend.rb', line 13 def call(date_time = nil) is_weekend(date_time || now) end |