Class: Gobstones::Lang::MaxColor

Inherits:
TypeBoundFunc
  • Object
show all
Defined in:
lib/gobstones/lang/expressions/type_bound_functions.rb

Instance Method Summary collapse

Instance Method Details

#evaluate(_context) ⇒ Object



42
43
44
# File 'lib/gobstones/lang/expressions/type_bound_functions.rb', line 42

def evaluate(_context)
  Verde.new
end

#to_sObject



46
47
48
# File 'lib/gobstones/lang/expressions/type_bound_functions.rb', line 46

def to_s
  'maxColor() expression'
end