Module: WhereTo

Defined in:
lib/where_to.rb,
lib/where_to/tvdb.rb,
lib/where_to/locator.rb,
lib/where_to/version.rb,
lib/where_to/location.rb,
lib/where_to/configuration.rb,
lib/where_to/episode_formatter.rb,
lib/where_to/error/no_files_error.rb

Defined Under Namespace

Classes: Configuration, EpisodeFormatter, Location, Locator, NoFilesError, TVDB

Constant Summary collapse

VERSION =
"1.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



18
19
20
# File 'lib/where_to.rb', line 18

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



29
30
31
# File 'lib/where_to.rb', line 29

def self.configure
  yield configuration
end

.resetObject



25
26
27
# File 'lib/where_to.rb', line 25

def self.reset
  @configuration = Configuration.new
end