Class: RVM::Functions::Shl
- Defined in:
- lib/rvm/functions/math/shl.rb
Class Method Summary collapse
Methods inherited from Function
call, data_type, execargs, method_missing
Methods included from Plugin
#helper, #included, #plugin_host, #plugin_id, #register_for
Class Method Details
.execute(params, env) ⇒ Object
29 30 31 32 33 |
# File 'lib/rvm/functions/math/shl.rb', line 29 def Shl.execute params, env a = params.shift b = params.shift a << b end |
.signature ⇒ Object
35 36 37 |
# File 'lib/rvm/functions/math/shl.rb', line 35 def Shl.signature [:number, :number] end |