Module: Disposable::Twin::Changed

Defined in:
lib/disposable/twin/changed.rb

Defined Under Namespace

Classes: Changes

Instance Method Summary collapse

Instance Method Details

#changedObject

this is usually called only once in Sync::SkipUnchanged, per twin.



18
19
20
21
22
# File 'lib/disposable/twin/changed.rb', line 18

def changed
  _find_changed_twins!(@_changes)

  @_changes
end

#changed?(*args) ⇒ Boolean

not recommended for external use?

Returns:

  • (Boolean)


11
12
13
# File 'lib/disposable/twin/changed.rb', line 11

def changed?(*args) # not recommended for external use?
  changed.changed?(*args)
end