FIX: RouteFormat is a better class name than RouteFormats

This commit is contained in:
Robin Ward
2017-12-21 15:30:32 -05:00
parent 69a90f31fb
commit 063e449ce5
2 changed files with 74 additions and 74 deletions

11
lib/route_format.rb Normal file
View File

@@ -0,0 +1,11 @@
module RouteFormat
def self.username
/[\w.\-]+?/
end
def self.backup
/.+\.(sql\.gz|tar\.gz|tgz)/i
end
end