class Berkshelf::Location

def init(dependency, options = {})

Returns:
  • (~BaseLocation, nil) -

Parameters:
  • options (Hash) --
  • dependency (Dependency) --

Other tags:
    Example: Create a GitHub location -
    Example: Create a git location -
def init(dependency, options = {})
  if ( klass = klass_from_options(options) )
    klass.new(dependency, options)
  else
    nil
  end
end