A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20160407/440b8e55/attachment.html below:

<div dir="ltr">FYI, Ruby's Pathname class doesn't inherit String.<div><br></div><div><a href="http://ruby-doc.org/stdlib-2.1.0/libdoc/pathname/rdoc/Pathname.html">http://ruby-doc.org/stdlib-2.1.0/libdoc/pathname/rdoc/Pathname.html</a></div><div><br></div><div>Ruby has two "convert to string" method.</div><div>`.to_s` is like `__str__`.</div><div>`.to_str` is like `__index__` but for str.  It is used for implicit conversion.</div><div><br></div><div>File.open accepts any object implements `.to_str`.</div></div>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4