Module: MemoryIO

Defined in:
lib/memory_io.rb,
lib/memory_io/io.rb,
lib/memory_io/util.rb,
lib/memory_io/process.rb,
lib/memory_io/version.rb,
lib/memory_io/types/type.rb,
lib/memory_io/types/types.rb,
lib/memory_io/types/record.rb,
lib/memory_io/types/cpp/string.rb,
lib/memory_io/types/clang/c_str.rb,
lib/memory_io/types/basic/number.rb

Overview

MemoryIO - Read/Write structures in memory.

Author:

  • david942j

Defined Under Namespace

Modules: Types, Util Classes: IO, Process

Constant Summary collapse

VERSION =

Current gem version.

'0.0.0'.freeze

Class Method Summary collapse

Class Method Details

.attach(pid) ⇒ MemoryIO::Process

Get a process by process id.

Parameters:

  • pid (Integer)

    Process Id in linux.

Returns:


14
15
16
# File 'lib/memory_io.rb', line 14

def attach(pid)
  MemoryIO::Process.new(pid)
end