Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update documentation of recently-changed code
  • Loading branch information
Nikolai Weibull committed Aug 1, 2012
1 parent 6a66e1a commit 4542b07
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions lib/lookout/expected/lookout/output.rb
Expand Up @@ -3,8 +3,8 @@
# Represents expected {::Lookout::Output}s.
class Lookout::Expected::Lookout::Output < Lookout::Expected::Object
# @param (see Object#expect)
# @yieldparam (see Object#expect)
# @yieldreturn (see Object#expect)
# @yieldparam [::IO] io
# @yieldreturn [::Lookout::Output]
# @return [Expect::Lookout::Output] An expect block for the receiver at
# _line_ in _file_ that’ll yield an IO object that’ll expect to see the
# {#expected} output during the execution of the block
Expand Down
10 changes: 5 additions & 5 deletions lib/lookout/expected/lookout/warning.rb
Expand Up @@ -3,11 +3,11 @@
# Represents expected {::Lookout::Warning}s.
class Lookout::Expected::Lookout::Warning < Lookout::Expected::Object
# @param (see Object#expect)
# @yieldparam (see Object#expect)
# @yieldreturn (see Object#expect)
# @return [Expect::Lookout::Warning] An expect block for the receiver at
# _line_ in _file_ that’ll yield the {#expected} warning and expect the
# warning to be output output during the execution of the block
# @yield
# @yieldreturn [::Lookout::Warning]
# @return [Expected::Output] An expect block for the receiver at _line_ in
# _file_ that’ll yield and expect the warning to be output to `$stderr`
# during the execution of the block
def expect(file, line, &block)
super(file, line){ |expected|
with_global :$stderr, StringIO.new do
Expand Down

0 comments on commit 4542b07

Please sign in to comment.