Class: Spec::Mocks::NoArgsConstraint

Inherits:
Object
  • Object
show all
Defined in:
lib/spec/mocks/argument_expectation.rb

Instance Method Summary collapse

Instance Method Details

#==(args) ⇒ Object



60
61
62
# File 'lib/spec/mocks/argument_expectation.rb', line 60

def ==(args)
  args == []
end

#descriptionObject



56
57
58
# File 'lib/spec/mocks/argument_expectation.rb', line 56

def description
  "no args"
end