Class: ConvenientService::RSpec::Matchers::Classes::DelegateTo::Entities::SubMatchers::WithAnyArguments

Inherits:
SubMatchers::Arguments
  • Object
show all
Defined in:
lib/convenient_service/rspec/matchers/classes/delegate_to/entities/sub_matchers/with_any_arguments.rb

Instance Method Summary collapse

Instance Method Details

#matches_arguments?(arguments) ⇒ Boolean

Returns:

  • (Boolean)


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

def matches_arguments?(arguments)
  true
end

#printable_expected_argumentsString

Returns:

  • (String)


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

def printable_expected_arguments
  "with any arguments (no arguments is also valid)"
end