Class: Blitzcrank::Movie

Inherits:
Video
  • Object
show all
Defined in:
lib/blitzcrank/movie.rb

Constant Summary

Constants inherited from Video

Video::MOVIE_REGEX, Video::TV_SHOW_REGEX

Instance Method Summary collapse

Methods inherited from Video

#file_name, file_name, #initialize, is_movie?, is_tv_show?, #nice_name, #remote_path, with_path

Constructor Details

This class inherits a constructor from Blitzcrank::Video

Instance Method Details

#is_movie?Boolean

Returns:

  • (Boolean)


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

def is_movie?
  true
end

#is_tv_show?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/blitzcrank/movie.rb', line 12

def is_tv_show?
  false
end

#local_pathObject



4
5
6
# File 'lib/blitzcrank/movie.rb', line 4

def local_path
  Blitzcrank.config.base_movie_dir + nice_name
end