Class: Rubymotionr::Repo
- Inherits:
-
Object
- Object
- Rubymotionr::Repo
- Defined in:
- lib/rubymotionr/repo.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#projects ⇒ Object
readonly
Returns the value of attribute projects.
Instance Method Summary collapse
-
#initialize(path) ⇒ Repo
constructor
A new instance of Repo.
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
#path ⇒ Object (readonly)
Returns the value of attribute path.
4 5 6 |
# File 'lib/rubymotionr/repo.rb', line 4 def path @path end |
#projects ⇒ Object (readonly)
Returns the value of attribute projects.
4 5 6 |
# File 'lib/rubymotionr/repo.rb', line 4 def projects @projects end |