Class: Scratchpad::Interpolator::DataPoint

Inherits:
Struct
  • Object
show all
Defined in:
lib/scratchpad/interpolator.rb

Instance Attribute Summary collapse

Instance Attribute Details

#posObject

Returns the value of attribute pos

Returns:

  • (Object)

    the current value of pos



6
7
8
# File 'lib/scratchpad/interpolator.rb', line 6

def pos
  @pos
end

#vObject

Returns the value of attribute v

Returns:

  • (Object)

    the current value of v



6
7
8
# File 'lib/scratchpad/interpolator.rb', line 6

def v
  @v
end