Class: WEEL::Position

Inherits:
Object show all
Defined in:
lib/weel.rb

Overview

}}}

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(position, detail = :at, passthrough = nil) ⇒ Position

:at or :after or :unmark



254
255
256
257
258
# File 'lib/weel.rb', line 254

def initialize(position, detail=:at, passthrough=nil) # :at or :after or :unmark
  @position = position
  @detail = detail
  @passthrough = passthrough
end

Instance Attribute Details

#detailObject

Returns the value of attribute detail.



253
254
255
# File 'lib/weel.rb', line 253

def detail
  @detail
end

#passthroughObject

Returns the value of attribute passthrough.



253
254
255
# File 'lib/weel.rb', line 253

def passthrough
  @passthrough
end

#positionObject (readonly)

{{{



252
253
254
# File 'lib/weel.rb', line 252

def position
  @position
end