Class: Pod::SvnSource

Inherits:
Source
  • Object
show all
Defined in:
lib/svn_source.rb

Overview

Subclass of Pod::Source to provide support for SVN Specs repositories

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(repo, url) ⇒ SvnSource

Returns a new instance of SvnSource.

Parameters:

  • repo (String)

    The name of the repository (aka. directory name)

  • url (String)

    see #url



13
14
15
16
# File 'lib/svn_source.rb', line 13

def initialize(repo, url)
  super(repo)
  @url = url
end

Instance Attribute Details

#urlString

Returns The remote URL of the repository.

Returns:

  • (String)

    The remote URL of the repository



7
8
9
# File 'lib/svn_source.rb', line 7

def url
  @url
end