Class: Spec::Mocks::ArgumentConstraints::NoArgsConstraint

Inherits:
Object
  • Object
show all
Defined in:
lib/gems/rspec-1.1.12/lib/spec/mocks/argument_constraints.rb

Instance Method Summary collapse

Instance Method Details

#==(args) ⇒ Object



32
33
34
# File 'lib/gems/rspec-1.1.12/lib/spec/mocks/argument_constraints.rb', line 32

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

#descriptionObject



28
29
30
# File 'lib/gems/rspec-1.1.12/lib/spec/mocks/argument_constraints.rb', line 28

def description
  "no args"
end