Method: VirtualBox::Snapshot#initialize_attributes

Defined in:
lib/virtualbox/snapshot.rb

#initialize_attributes(snapshot) ⇒ Object



130
131
132
133
134
135
136
137
138
139
140
# File 'lib/virtualbox/snapshot.rb', line 130

def initialize_attributes(snapshot)
  # Load the interface attributes
  load_interface_attributes(snapshot)

  # Clear dirtiness, since this should only be called initially and
  # therefore shouldn't affect dirtiness
  clear_dirty!

  # But this is an existing record
  existing_record!
end