lib/wire/commands/verify_command.rb
# run verification on whole project
# iterates all zones, descend into zone
# verification
# returns:
# - [bool]  true = verification ok
run verification on whole project
iterates all zones, descend into zone
verification
returns:
[bool]  true = verification ok
run verification on whole project iterates all zones descend into zone verification returns : [ bool ] true = verification ok
def run_on_project
      zones = @project.get_element('zones')
      (run_on_project_zones(zones)
        .each do |zone_name, zone_data|
          zone_data.store :status, :failed
          mark("Not all elements of zone \'#{zone_name}\' are valid.",
               :zone, zone_name, zone_data)
        end.size > 0)
    end
def run_on_project zones = @project . get_element ( 'zones' ) ( run_on_project_zones ( zones ) . each do | zone_name , zone_data | zone_data . store :status , :failed mark ( "Not all elements of zone \'#{zone_name}\' are valid." , :zone , zone_name , zone_data ) end . size > 0 ) end
run verification on whole project
iterates all zones, descend into zone
verification
returns:
 [bool]  true = verification ok
run verification on whole project iterates all zones descend into zone verification returns : [ bool ] true = verification ok
# iterates all zones, descend into zone # for further checks, mark all those bad # zones, decide upon boolean return flag # error occured in run_on_zone call. Lets mark this