class Syobocal::Comment::Staff

Attributes

people[R]
role[R]

Public Class Methods

new(role, people) click to toggle source
# File lib/syobocal/comment/staff.rb, line 6
def initialize(role, people)
  @role, @people = role, people
end

Public Instance Methods

==(other) click to toggle source
# File lib/syobocal/comment/staff.rb, line 10
def ==(other)
  other.instance_of?(self.class) && other.role == role && other.people == people
end