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
|
def parse author
|
||||||
return @author_to_id[author]
|
return @author_to_id[author]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def size
|
||||||
|
return @author_to_id.keys.size
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue