Class: Statefully::Diff::None

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/statefully/diff.rb

Instance Method Summary collapse

Instance Method Details

#addedObject



55
56
57
# File 'lib/statefully/diff.rb', line 55

def added
  {}
end

#changedObject



59
60
61
# File 'lib/statefully/diff.rb', line 59

def changed
  false
end

#empty?Boolean

Returns:

  • (Boolean)


51
52
53
# File 'lib/statefully/diff.rb', line 51

def empty?
  true
end

#inspectObject



63
64
65
# File 'lib/statefully/diff.rb', line 63

def inspect
  "<#{self.class.name}>"
end