Class: Dommy::Rack::History::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/dommy/rack/history.rb

Overview

window / windex tie the entry to a page and its window.history cursor position; Session#back / #forward traverse in-page (popstate) exactly when the target entry's window IS the live current window.

Instance Attribute Summary collapse

Instance Attribute Details

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



15
16
17
# File 'lib/dommy/rack/history.rb', line 15

def url
  @url
end

#windexObject

Returns the value of attribute windex

Returns:

  • (Object)

    the current value of windex



15
16
17
# File 'lib/dommy/rack/history.rb', line 15

def windex
  @windex
end

#windowObject

Returns the value of attribute window

Returns:

  • (Object)

    the current value of window



15
16
17
# File 'lib/dommy/rack/history.rb', line 15

def window
  @window
end