Method: Rust::Function#to_R
- Defined in:
- lib/rust/core/types/language.rb
#to_R ⇒ Object
116 117 118 119 |
# File 'lib/rust/core/types/language.rb', line 116 def to_R params = [@arguments.to_R, @options.to_R].select { |v| v != "" }.join(",") return "#@function(#{params})" end |