Skip to content

Commit

Permalink
I don't use this any more.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkh committed Dec 16, 2008
1 parent 13dc71b commit 59c6c9e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/mw_api.rb
Expand Up @@ -129,12 +129,6 @@ def inspect # :nodoc:
"#<#{siteinfo["sitename"]} (#{siteinfo["lang"]}), #{@uri.inspect}>"
end

def colorized_inspect # :nodoc:
return inspect unless defined? ANSICode
ANSICode.white + "#<" + ANSICode.yellow + siteinfo["sitename"] +
" (#{siteinfo["lang"]})" + ANSICode.white + ", #{@uri.colorized_inspect}>"
end

alias_method :api, :api_request
alias_method :get, :page_content

Expand Down

0 comments on commit 59c6c9e

Please sign in to comment.