Class: Stool::RepoInfo
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Methods inherited from BaseObj
#doCacheByYAML, fromFile, fromYAML, #initialize
Constructor Details
This class inherits a constructor from Stool::BaseObj
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/stool/Core/repoInfo.rb', line 6 def name @name end |
#path ⇒ Object
Returns the value of attribute path.
7 8 9 |
# File 'lib/stool/Core/repoInfo.rb', line 7 def path @path end |
Instance Method Details
#info_tos ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/stool/Core/repoInfo.rb', line 9 def info_tos puts('--' + 'name:'+ self.name) puts('--' + 'path:'+ self.path) puts('--' + 'Repos:') subDirs.sort.each do |f| unless f['.'] puts ' ' + f.to_s end end puts('') end |