Method: Example#run

Defined in:
lib/rubyang/component/example.rb

#runObject



7
8
9
10
11
12
# File 'lib/rubyang/component/example.rb', line 7

def run
  config = @db.configure
  File.open( '/tmp/rubyang_component_example.txt', 'w' ){ |fo|
    fo.puts config.to_xml( pretty: true )
  }
end