module BigKeeper::ModuleType

Constants

GIT
PATH
SPEC

Public Class Methods

regex(type) click to toggle source
# File lib/big_keeper/model/podfile_type.rb, line 7
def self.regex(type)
  if PATH == type
    "\s*:path\s*=>\s*"
  elsif GIT == type
    "\s*:git\s*=>\s*"
  elsif SPEC == type
    "\s*'"
  else
    name
  end
end