Add size method.
This commit is contained in:
parent
b9b64d9e2d
commit
df545555cb
1 changed files with 4 additions and 0 deletions
|
@ -30,5 +30,9 @@ module TimeCost
|
|||
def parse author
|
||||
return @author_to_id[author]
|
||||
end
|
||||
|
||||
def size
|
||||
return @author_to_id.keys.size
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue