class ProjectGroup::Group
Attributes
name[RW]
Public Instance Methods
<<(path)
click to toggle source
# File lib/project_group/group.rb, line 6 def <<(path) self.singles << Single.new(:path => path) end
needs_push?()
click to toggle source
# File lib/project_group/group.rb, line 12 def needs_push? singles.any? { |x| x.needs_push? } end
uncommitted_files()
click to toggle source
# File lib/project_group/group.rb, line 9 def uncommitted_files singles.map { |x| x.uncommitted_files }.flatten end