Method: ImNodes::SlotInfo.create
- Defined in:
- lib/imnodes.rb
.create(title, kind) ⇒ Object
92 93 94 95 96 97 |
# File 'lib/imnodes.rb', line 92 def self.create(title, kind) instance = SlotInfo.new instance[:title] = FFI::MemoryPointer.from_string(title) instance[:kind] = kind return instance end |