Class: EhbrsRubyUtils::Videos::File

Inherits:
Object
  • Object
show all
Defined in:
lib/ehbrs_ruby_utils/videos/file.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_file(path) ⇒ Object



15
16
17
# File 'lib/ehbrs_ruby_utils/videos/file.rb', line 15

def from_file(path)
  new(path)
end

Instance Method Details

#lyrics_by_provider(provider) ⇒ UltimateLyrics::Lyrics

Parameters:

  • provider (UltimateLyrics::Provider)

Returns:

  • (UltimateLyrics::Lyrics)


36
37
38
# File 'lib/ehbrs_ruby_utils/videos/file.rb', line 36

def lyrics_by_provider(provider)
  ::UltimateLyrics::ProviderSearch.new(provider, ).lyrics
end