lib/wire/model/network_validation.rb
# ensures that all networks have their network range defined
ensures that all networks have their network range defined
ensures that all networks have their network range defined
def missing_network_def_found?
      @project.get_element('networks').each do |network_name, network_data|
        nw = network_data[:network]
        mark("Network #{network_name} has no network ip range.",
             'network', network_name) unless nw
      end
    end
def missing_network_def_found? @project . get_element ( 'networks' ) . each do | network_name , network_data | nw = network_data [ :network ] mark ( "Network #{network_name} has no network ip range." , 'network' , network_name ) unless nw end end
ensures that all networks have their network range defined
ensures that all networks have their network range defined