class ShellAdapter

Adapter which handles shell access.

Public Instance Methods

process_files( check_constraints_identifiers, check_use_autolayout, ignore_regex_string, base_path ) click to toggle source
# File lib/check_xcode_xmls/shell_adapter.rb, line 5
def process_files(
  check_constraints_identifiers,
  check_use_autolayout,
  ignore_regex_string,
  base_path
)
  result = []
  files = find_files(ignore_regex_string, base_path, /.(xib|storyboard)$/)

  files.each do |file|
    result += parse_xml(
      check_constraints_identifiers,
      check_use_autolayout,
      file
    )
  end
  result
  end