Method: CSquare::Function#clone

Defined in:
lib/csquare/function.rb

#cloneObject

Make a deep copy of this function.



10
11
12
# File 'lib/csquare/function.rb', line 10

def clone
  CSquare::Function.new(self.code, @parser.type_names.to_a)
end