Sha256: b5dcd05df400f604d3b2b000c341fcb2951c6d02121fc90e3c50e4bcd03de04f

Contents?: true

Size: 151 Bytes

Versions: 1

Compression:

Stored size: 151 Bytes

Contents

require "vimeo_id/version"
require "vimeo_id/regex"

module VimeoId

  def self.from url
    REGEX.match( url ) do |m|
      m[:id]
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vimeo_id-0.0.1 lib/Vimeo_Id.rb