Skip to content

Commit

Permalink
Formatting and rdoc changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
floehopper committed Apr 25, 2007
1 parent f4a5dfc commit 8742e7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/mocha/parameter_matchers/anything.rb
@@ -1,4 +1,5 @@
module Mocha

module ParameterMatchers

# :call-seq: anything -> parameter_matcher
Expand All @@ -12,7 +13,7 @@ def anything
Anything.new
end

class Anything
class Anything # :nodoc:

def ==(parameter)
return true
Expand All @@ -25,4 +26,5 @@ def mocha_inspect
end

end

end
4 changes: 3 additions & 1 deletion lib/mocha/parameter_matchers/includes.rb
@@ -1,4 +1,5 @@
module Mocha

module ParameterMatchers

# :call-seq: includes(item) -> parameter_matcher
Expand All @@ -15,7 +16,7 @@ def includes(item)
Includes.new(item)
end

class Includes
class Includes # :nodoc:

def initialize(item)
@item = item
Expand All @@ -32,4 +33,5 @@ def mocha_inspect
end

end

end

0 comments on commit 8742e7d

Please sign in to comment.