Module: Mdarby::Acts::Acts_as_video_fu

Defined in:
lib/acts_as_video_fu.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ClassMethods, InstanceMethods, SingletonMethods

Constant Summary collapse

VIMEO_RE =
/^http:\/\/(www\.vimeo|vimeo)\.com\/[0-9]*$/
YOUTUBE_RE =
/^http:\/\/(www\.youtube|youtube)\.com\/watch\?v=[^&]*(&.*){0,}$/

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



8
9
10
# File 'lib/acts_as_video_fu.rb', line 8

def self.included(base)
  base.extend ClassMethods
end