class Rust::Options
Public Class Methods
from_hash(hash)
click to toggle source
# File lib/rust-calls.rb, line 69 def self.from_hash(hash) options = Options.new hash.each do |key, value| options[key.to_s] = value end return options end
Public Instance Methods
to_R()
click to toggle source
# File lib/rust-calls.rb, line 65 def to_R return self.map { |k, v| "#{k}=#{v.to_R}" }.join(", ") end