class Ag::Object

Attributes

id[R]
type[R]

Public Class Methods

new(type, id) click to toggle source
# File lib/ag/object.rb, line 6
def initialize(type, id)
  @type = type
  @id = id
end

Public Instance Methods

==(other) click to toggle source
# File lib/ag/object.rb, line 11
def ==(other)
  self.class == other.class &&
    self.type == other.type &&
    self.id == other.id
end