Class: RuneRb::Cache::FileSystem::FileDescriptor

Inherits:
Struct
  • Object
show all
Defined in:
lib/rune/cache/file_system.rb

Overview

Since:

  • 0.1.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



176
177
178
# File 'lib/rune/cache/file_system.rb', line 176

def file
  @file
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



176
177
178
# File 'lib/rune/cache/file_system.rb', line 176

def type
  @type
end

Instance Method Details

#equals(other) ⇒ Object

Since:

  • 0.1.0



177
178
179
# File 'lib/rune/cache/file_system.rb', line 177

def equals(other)
  other.file == file && other.type == type
end