first..sorry for my poor english and my big noob question..the problem is...
I need create a little shoes app than show the excel files inside a folder (this is only a part)...I define a method like this:
def show_proov
files = Dir.new(personal_folder).entries
xlsxfiles = files.find_all {|file| file.include?('.xlsx') }.map do |file| file.scan(/^\w+/) end
end
if I show in a alert it..it works and shows the files...so far so good: now..the problem is than I wish iterate over this names and create a menu..when I try it I get a error related about "bad encode" (sorry but I've tried recreate this code but I never get this message again)
well..no problem...maybe a list_box could do the work:
inside my shoes app I define list_box :items => show_proov doing that..nothing is render inside the windows...don't show anything
the same happen if I use
@items=show_proov
#@items.class = array
list_box :items => @items
it hasn't much sense but I must has the try...
thanks for read and for help!! :D
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)