class Object

Public Instance Methods

changed?(other) click to toggle source
# File lib/introspection/snapshot.rb, line 30
def changed?(other)
  diff(other).values.flatten.any?
end
diff(other) click to toggle source
# File lib/introspection/snapshot.rb, line 23
def diff(other)
  {
    :added => other.methods - methods,
    :removed => methods - other.methods
  }
end