remove warning when running specs
This commit is contained in:
parent
ec6f42eaf0
commit
5c76062932
1 changed files with 1 additions and 1 deletions
|
|
@ -18,5 +18,5 @@ module YoutubeTitles
|
|||
self[:youtube_titles][video_id] = youtube_title_for(video_id)
|
||||
end
|
||||
end
|
||||
YOUTUBE_ID_REGEX = /youtube\.com.*?v=([A-Za-z0-9_\\\-]+)/
|
||||
YOUTUBE_ID_REGEX = /youtube\.com.*?v=([A-Za-z0-9_\\\-]+)/ unless defined? YOUTUBE_ID_REGEX
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue