Module: ErgomentumRspec::Matchers::Array

Defined in:
lib/ergomentum_rspec/matchers/array.rb,
lib/ergomentum_rspec/matchers/array/be_unique.rb,
lib/ergomentum_rspec/matchers/array/be_strictly_decreasing.rb,
lib/ergomentum_rspec/matchers/array/be_strictly_increasing.rb,
lib/ergomentum_rspec/matchers/array/be_monotonically_decreasing.rb,
lib/ergomentum_rspec/matchers/array/be_monotonically_increasing.rb

Defined Under Namespace

Classes: BeUnique, MonotonicallyDecreasing, MonotonicallyIncreasing, StrictlyDecreasing, StrictlyIncreasing

Instance Method Summary collapse

Instance Method Details

#be_monotonically_decreasingObject



6
7
8
# File 'lib/ergomentum_rspec/matchers/array/be_monotonically_decreasing.rb', line 6

def be_monotonically_decreasing
  MonotonicallyDecreasing.new
end

#be_monotonically_increasingObject



6
7
8
# File 'lib/ergomentum_rspec/matchers/array/be_monotonically_increasing.rb', line 6

def be_monotonically_increasing
  MonotonicallyIncreasing.new
end

#be_strictly_decreasingObject



6
7
8
# File 'lib/ergomentum_rspec/matchers/array/be_strictly_decreasing.rb', line 6

def be_strictly_decreasing
  StrictlyDecreasing.new
end

#be_strictly_increasingObject



6
7
8
# File 'lib/ergomentum_rspec/matchers/array/be_strictly_increasing.rb', line 6

def be_strictly_increasing
  StrictlyIncreasing.new
end

#be_uniqueObject



6
7
8
# File 'lib/ergomentum_rspec/matchers/array/be_unique.rb', line 6

def be_unique
  BeUnique.new
end