rename to to array function to to_arr

This commit is contained in:
Torsten Ruger
2017-01-04 21:32:09 +02:00
parent 88eae0e6f0
commit f2c4e542ac
4 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@ module Register
@name.split(".").length == 2
end
def to_ac labels = []
def to_arr labels = []
return [] if labels.include?(self)
labels << self
super