Class: AmberVM::Functions::Print
- Defined in:
- lib/amber/functions/io/print.rb
Overview
The print function is used to print one or more argumnts to the console, thus allowing scripts to generate console output.
Eacha argument is passed to rubys +print# function.
Class Method Summary collapse
Methods inherited from Function
call, data_type, execargs, method_missing, signature
Methods included from Plugin
#helper, #included, #plugin_host, #plugin_id, #register_for
Class Method Details
.execute(params, env) ⇒ Object
35 36 37 38 39 |
# File 'lib/amber/functions/io/print.rb', line 35 def execute params, env params.each do |p| print p end end |