Method: FAFuse::User.match?

Defined in:
lib/fafuse/user.rb

.match?(path) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/fafuse/user.rb', line 8

def self.match?(path)
  path.match(/^\/([^\.][^\/]+)$/)
end