Exception: AtomicTV::AtomicParsleyTagger::FileNotFound

Inherits:
AtomicTV::AtomicTVError show all
Defined in:
lib/AtomicTV/atomic_parsley_tagger.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file_path) ⇒ FileNotFound

Returns a new instance of FileNotFound.



11
12
13
# File 'lib/AtomicTV/atomic_parsley_tagger.rb', line 11

def initialize(file_path)
  @file_path = file_path
end

Instance Attribute Details

#file_pathObject (readonly)

Returns the value of attribute file_path.



15
16
17
# File 'lib/AtomicTV/atomic_parsley_tagger.rb', line 15

def file_path
  @file_path
end

Instance Method Details

#human_messageObject



17
18
19
# File 'lib/AtomicTV/atomic_parsley_tagger.rb', line 17

def human_message
  "File not found: #{file_path}"
end