lib/dev_flow/roadmap.rb in dev_flow-0.0.13 vs lib/dev_flow/roadmap.rb in dev_flow-0.1.0
- old
+ new
@@ -20,9 +20,19 @@
def title
@config[:title]
end
+ def team_member_names
+ mary = @config["team"] || Array.new
+ %w[leader moderator supervisor].each do |role|
+ if @config[role]
+ mary << @config[role] unless mary.include? @config[role]
+ end
+ end
+ mary
+ end
+
def parse file = nil
self.file = file if file
fh = File.open(self.file, "r:utf-8")
head_part = ""
in_header = 0