U
Une bévue
i have a hash like that :
@label_list={}
with only one key for the time being :
@label_list["BookmarksBar"]=[]
then, the value is an Array populated like that :
@label_list["BookmarksBar"] << folder.attributes["label"].gsub(/"(.*)"/,
'\1')
then, i want to use this hash-value by :
if !@label_list["BookmarksBar"].include?(label_) # <= line 143
this works a number of times (it's within an each loop) until label_ =
"files" where i get :
/Users/yvon/work/RubyCocoa/BookmarksMerge/build/Development/BookmarksMer
ge.app/Contents/Resources/Controller.rb:143:in `NSApplicationMain':
NSApplicationMain - RBException_TypeError - can't convert String into
Integer (OSX::OCException)
label_ are always strings...
i don't understand ))
@label_list={}
with only one key for the time being :
@label_list["BookmarksBar"]=[]
then, the value is an Array populated like that :
@label_list["BookmarksBar"] << folder.attributes["label"].gsub(/"(.*)"/,
'\1')
then, i want to use this hash-value by :
if !@label_list["BookmarksBar"].include?(label_) # <= line 143
this works a number of times (it's within an each loop) until label_ =
"files" where i get :
/Users/yvon/work/RubyCocoa/BookmarksMerge/build/Development/BookmarksMer
ge.app/Contents/Resources/Controller.rb:143:in `NSApplicationMain':
NSApplicationMain - RBException_TypeError - can't convert String into
Integer (OSX::OCException)
label_ are always strings...
i don't understand ))