Sha256: 73f38a0d24ec6e3d176ab4f692344e16e83b6b436f92d69ee34cb1e399e57cad
Contents?: true
Size: 443 Bytes
Versions: 2
Compression:
Stored size: 443 Bytes
Contents
module Uricp::Strategy class Pruner include Uricp::Strategy::Common def appropriate? if conversion_required? && options['source-format'] unsupported_conversion end debug "#{self.class.name}: no dead ends to prune" false end def unsupported_conversion raise Uricp::UnsupportedConversion, "Unsupported source conversion to #{options['target-format'].to_s}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
uricp-0.0.2 | lib/uricp/strategy/pruner.rb |
uricp-0.0.1 | lib/uricp/strategy/pruner.rb |