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