Class: Binpacker::Test

Inherits:
Struct
  • Object
show all
Defined in:
lib/binpacker/test_discovery.rb

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



4
5
6
# File 'lib/binpacker/test_discovery.rb', line 4

def file
  @file
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'lib/binpacker/test_discovery.rb', line 4

def name
  @name
end

Instance Method Details

#keyObject

Composite key used as timing lookup and identity.



6
7
8
# File 'lib/binpacker/test_discovery.rb', line 6

def key
  [file, name]
end