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

Inherits:
SubMatchers::Arguments
  • Object
show all
Defined in:
lib/convenient_service/rspec/matchers/classes/delegate_to/entities/sub_matchers/without_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/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/matchers/classes/delegate_to/entities/sub_matchers/without_arguments.rb', line 26

def printable_expected_arguments
  "without arguments"
end