diff options
Diffstat (limited to 'spec/mspec/lib/mspec/matchers/output_to_fd.rb')
-rw-r--r-- | spec/mspec/lib/mspec/matchers/output_to_fd.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/mspec/lib/mspec/matchers/output_to_fd.rb b/spec/mspec/lib/mspec/matchers/output_to_fd.rb index 5daaf5545c..f4d7b4ea1f 100644 --- a/spec/mspec/lib/mspec/matchers/output_to_fd.rb +++ b/spec/mspec/lib/mspec/matchers/output_to_fd.rb @@ -64,8 +64,8 @@ class OutputToFDMatcher end end -class Object - def output_to_fd(what, where = STDOUT) +module MSpecMatchers + private def output_to_fd(what, where = STDOUT) OutputToFDMatcher.new what, where end end |