Class: Rubymotionr::Repo

Inherits:
Object
  • Object
show all
Defined in:
lib/rubymotionr/repo.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ Repo

Returns a new instance of Repo.



6
7
8
9
# File 'lib/rubymotionr/repo.rb', line 6

def initialize(path)
  @path = path
  @projects = find_projects(path)
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



4
5
6
# File 'lib/rubymotionr/repo.rb', line 4

def path
  @path
end

#projectsObject (readonly)

Returns the value of attribute projects.



4
5
6
# File 'lib/rubymotionr/repo.rb', line 4

def projects
  @projects
end