module Nuggets::Data::PositionMixin

Attributes

position[RW]

Public Class Methods

extended(base) click to toggle source
# File lib/nuggets/data/position_mixin.rb, line 37
def self.extended(base)
  base.position = base.pos
end

Public Instance Methods

reposition() click to toggle source
# File lib/nuggets/data/position_mixin.rb, line 33
def reposition
  seek(position)
end