Class: RVM::Functions::Gte

Inherits:
Function show all
Defined in:
lib/rvm/functions/general/gte.rb

Class Method Summary collapse

Methods inherited from Function

call, data_type, execargs, method_missing, method_missing_old_functions

Methods included from Plugin

#helper, #included, #plugin_host, #plugin_id, #register_for

Class Method Details

.execute(params, env) ⇒ Object



5
6
7
8
9
10
# File 'lib/rvm/functions/general/gte.rb', line 5

def execute params, env
  if params.length == 2
    return RVM::Classes[:boolean].new(params[0] >= params[1])
  else
  end
end

.signatureObject



12
13
14
# File 'lib/rvm/functions/general/gte.rb', line 12

def signature
  [:any] 
end