# File lib/guard/interactor.rb, line 66 def extract_scopes_and_action(entry) scopes = {} entries = entry.split(' ') case entries.length when 1 unless action = action_from_entry(entries[0]) scopes = scopes_from_entry(entries[0]) end when 2 scopes = scopes_from_entry(entries[0]) action = action_from_entry(entries[1]) end action ||= :run_all [scopes, action] end