Method: Rust::Function#to_R

Defined in:
lib/rust/core/types/language.rb

#to_RObject



145
146
147
148
# File 'lib/rust/core/types/language.rb', line 145

def to_R
    params = [@arguments.to_R, @options.to_R].select { |v| v != "" }.join(",")
    return "#@function(#{params})"
end