class AudioBookCreator::SpokenChapter

Attributes

filename[RW]
title[RW]

Public Class Methods

new(title, filename) click to toggle source
# File lib/audio_book_creator/spoken_chapter.rb, line 5
def initialize(title, filename)
  @title = title
  @filename = filename
end

Public Instance Methods

==(other) click to toggle source
# File lib/audio_book_creator/spoken_chapter.rb, line 10
def ==(other)
  other.kind_of?(SpokenChapter) &&
    other.title.eql?(title) && other.filename.eql?(filename)
end
Also aliased as: eql?
eql?(other)
Alias for: ==