Class: DecisionAgent::Dmn::Feel::Functions::TimeFunction
- Inherits:
-
Base
- Object
- Base
- DecisionAgent::Dmn::Feel::Functions::TimeFunction
show all
- Defined in:
- lib/decision_agent/dmn/feel/functions.rb
Class Method Summary
collapse
Methods inherited from Base
register, validate_arg_count
Class Method Details
.call(args, _context = {}) ⇒ Object
387
388
389
390
|
# File 'lib/decision_agent/dmn/feel/functions.rb', line 387
def self.call(args, _context = {})
validate_arg_count(args, 1)
Types::Time.new(args[0])
end
|