module VimeoId

Constants

REGEX
VERSION

Public Class Methods

from(url) click to toggle source
# File lib/Vimeo_Id.rb, line 6
def self.from url
  REGEX.match( url ) do |m|
    m[:id]
  end
end