Sha256: 76bd05c25e1e00750cb6420a69dcca87103540b87a26fe91ae4e37cc47e41fea
Contents?: true
Size: 319 Bytes
Versions: 5
Compression:
Stored size: 319 Bytes
Contents
# frozen_string_literal: true module Yawast module Commands class Utils def self.extract_uri(args) raise ArgumentError, 'You must specify a URL.' if args.empty? # this might be a bad assumption url = args[0] Yawast::Shared::Uri.extract_uri url end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
yawast-0.7.2 | lib/commands/utils.rb |
yawast-0.7.1 | lib/commands/utils.rb |
yawast-0.7.0 | lib/commands/utils.rb |
yawast-0.7.0.beta3 | lib/commands/utils.rb |
yawast-0.7.0.beta2 | lib/commands/utils.rb |