ruby/test/model.rb
# saves a model with the specified name to the specified directory
saves a model with the specified name to the specified directory
saves a model with the specified name to the specified directory
def save_model(name,dir)
    osm_file = name 
    osm_dir = dir
    osm_path = File.join(osm_dir, osm_file)
    puts "SAVING #{name} to #{osm_dir}"
    self.save(osm_path,true)
    return true
  end
def save_model ( name , dir ) osm_file = name osm_dir = dir osm_path = File . join ( osm_dir , osm_file ) puts "SAVING #{name} to #{osm_dir}" self . save ( osm_path , true ) return true end
saves a model with the specified name to the specified directory
saves a model with the specified name to the specified directory
#+ '.osm'
name
dir