Class: DecisionAgent::Dmn::Feel::Functions::Append
- Inherits:
-
Base
- Object
- Base
- DecisionAgent::Dmn::Feel::Functions::Append
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
299
300
301
302
303
304
|
# File 'lib/decision_agent/dmn/feel/functions.rb', line 299
def self.call(args, _context = {})
validate_arg_count(args, 2..)
list = Array(args[0])
items = args[1..]
list + items
end
|