Sha256: 3cb73860b2f79057f0b35b5586d4072d0ee521a506f1a1fcc02fa2db9e444ea6
Contents?: true
Size: 613 Bytes
Versions: 3
Compression:
Stored size: 613 Bytes
Contents
# Copyright: Copyright (c) 2005 Nicolas Pouillard. All rights reserved. # Author: Nicolas Pouillard <ertai@lrde.epita.fr>. # License: Gnu General Public License. # $LastChangedBy: polrop $ # $Id: uri_ex.rb 159 2005-02-18 12:07:23Z polrop $ require 'uri' module URI class CheckoutError < Exception end class Generic def pathname Pathname.new(path) end def to_yaml_type '!uri' end def to_yaml ( opts={} ) "!uri #{to_s}" end def checkout raise CheckoutError, "Can't checkout a #{self.class}" end end # module Generic end # module URI
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ttk-0.1.576 | ruby_ex/uri_ex.rb |
ttk-0.1.579 | ruby_ex/uri_ex.rb |
ttk-0.1.580 | ruby_ex/uri_ex.rb |