Class: Crawdad::BreakpointNode

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/crawdad/ffi/breakpoint_node.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



30
31
32
# File 'lib/crawdad/ffi/breakpoint_node.rb', line 30

def inspect
  "#<BreakpointNode position=#{position} ratio=#{ratio}>"
end

#positionObject



18
19
20
# File 'lib/crawdad/ffi/breakpoint_node.rb', line 18

def position
  self[:position]
end

#position=(p) ⇒ Object



22
23
24
# File 'lib/crawdad/ffi/breakpoint_node.rb', line 22

def position=(p)
  self[:position] = p
end

#ratioObject



26
27
28
# File 'lib/crawdad/ffi/breakpoint_node.rb', line 26

def ratio
  self[:ratio]
end