Method: Rust::S4Class.pull_variable
- Defined in:
- lib/rust/core/types/s4class.rb
.pull_variable(variable, type, klass) ⇒ Object
13 14 15 16 17 |
# File 'lib/rust/core/types/s4class.rb', line 13 def self.pull_variable(variable, type, klass) slots = [Rust._pull("names(getSlots(\"#{klass}\"))")].flatten return S4Class.new(variable, klass, slots) end |