Method: Xampl::XamplObject#changed

Defined in:
lib/xamplr/xampl-object.rb

#changedObject

Raises:



49
50
51
52
53
54
55
56
57
58
59
# File 'lib/xamplr/xampl-object.rb', line 49

def changed
  raise UnmanagedChange.new(self) unless Xampl.persister
  unless @is_changed then
    @is_changed = true
    if nil != @parents
      @parents.each do |parent|
        parent.changed
      end
    end
  end
end