Class: Reportinator::StringArrayFunction
- Inherits:
-
ArrayFunction
- Object
- Base
- Function
- ArrayFunction
- Reportinator::StringArrayFunction
- Defined in:
- lib/reportinator/functions/array/string.rb
Constant Summary collapse
- PREFIXES =
[">string"]
Instance Method Summary collapse
Methods inherited from ArrayFunction
accepts?, #get, #set_attributes
Methods inherited from Function
parse, #parse_and_execute_value, #parse_value, #prefixes
Methods inherited from Base
config, #config, logger, #logger
Methods included from Helpers
#merge_hash, #merge_hash!, #symbolize_attributes
Instance Method Details
#output ⇒ Object
5 6 7 8 |
# File 'lib/reportinator/functions/array/string.rb', line 5 def output values.prepend target values.map { |value| parse_value(value).to_s }.join end |