# File lib/doorkeeper/oauth/scopes.rb, line 7 def self.from_string(string) string ||= '' new.tap do |scope| scope.add(*string.split) end end