class Mutiny::Tests::Test

Attributes

location[R]
name[R]

Public Class Methods

new(location: nil, name:) click to toggle source
# File lib/mutiny/tests/test.rb, line 6
def initialize(location: nil, name:)
  @location = location
  @name = name
end

Public Instance Methods

==(other)
Alias for: eql?
eql?(other) click to toggle source
# File lib/mutiny/tests/test.rb, line 11
def eql?(other)
  other.location == location && other.name == name
end
Also aliased as: ==
hash() click to toggle source
# File lib/mutiny/tests/test.rb, line 17
def hash
  [location, name].hash
end