Class: ConvenientService::RSpec::PrimitiveMatchers::Classes::DelegateTo::Entities::SubMatchers::WithoutArguments

Inherits:
Arguments
  • Object
show all
Defined in:
lib/convenient_service/rspec/primitive_matchers/classes/delegate_to/entities/sub_matchers/without_arguments.rb

Instance Attribute Summary

Attributes inherited from Base

#block_expectation_value, #matcher

Instance Method Summary collapse

Methods inherited from Arguments

#apply_stubs!, #failure_message, #failure_message_when_negated, #matches?, #printable_actual_arguments

Methods inherited from Base

#apply_stubs!, #does_not_match?, #failure_message, #failure_message_when_negated, #initialize, #matches?

Instance Method Details

#matches_arguments?(arguments) ⇒ Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/convenient_service/rspec/primitive_matchers/classes/delegate_to/entities/sub_matchers/without_arguments.rb', line 19

def matches_arguments?(arguments)
  arguments.none?
end

#printable_expected_argumentsString

Returns:

  • (String)


26
27
28
# File 'lib/convenient_service/rspec/primitive_matchers/classes/delegate_to/entities/sub_matchers/without_arguments.rb', line 26

def printable_expected_arguments
  "without arguments"
end