lib/patron.rb in patron-0.6.0 vs lib/patron.rb in patron-0.6.1
- old
+ new
@@ -20,19 +20,22 @@
## LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
## OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
## THE SOFTWARE.
##
## -------------------------------------------------------------------
+
+
require 'pathname'
cwd = Pathname(__FILE__).dirname
$:.unshift(cwd.to_s) unless $:.include?(cwd.to_s) || $:.include?(cwd.expand_path.to_s)
require 'patron/session'
require 'patron/version'
-module Patron #:nodoc:
- # Returns the version number of the Patron library as a string
+module Patron
+ # Returns the version number of the gem
+ # @return [String]
def self.version
VERSION
end
end