public Method

CookieUtils.tail_match?(str1, str2)

There's no documentation for this item.

Source Code

# File httpclient/cookie.rb, line 24
def tail_match?(str1, str2)
  if str1.length > 0
    str1 == str2[-str1.length..-1].to_s
  else
    true
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.