Class: Space::Architect::SessionSync::Cursor::Entry

Inherits:
Data
  • Object
show all
Defined in:
lib/space_architect/session_sync/cursor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(size:, mtime:) ⇒ Entry

Returns a new instance of Entry.



14
# File 'lib/space_architect/session_sync/cursor.rb', line 14

def initialize(size:, mtime:) = super

Instance Attribute Details

#mtimeObject (readonly)

Returns the value of attribute mtime

Returns:

  • (Object)

    the current value of mtime



13
14
15
# File 'lib/space_architect/session_sync/cursor.rb', line 13

def mtime
  @mtime
end

#sizeObject (readonly)

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



13
14
15
# File 'lib/space_architect/session_sync/cursor.rb', line 13

def size
  @size
end