class Syobocal::SubTitles::SubTitle

Attributes

episode[R]
title[R]

Public Class Methods

new(episode, title) click to toggle source
# File lib/syobocal/sub_titles/sub_title.rb, line 6
def initialize(episode, title)
  @episode, @title = episode, title
end

Public Instance Methods

==(other) click to toggle source
# File lib/syobocal/sub_titles/sub_title.rb, line 10
def ==(other)
  other.instance_of?(self.class) && other.episode == episode && other.title == title
end