Method: Tdl.log_array

Defined in:
lib/tdl/tdl.rb

.log_array(info, ay) ⇒ Object

log puts



245
246
247
248
249
250
251
252
# File 'lib/tdl/tdl.rb', line 245

def self.log_array(info,ay)
    if ay.any?
        Tdl.Puts pagination(info)
        ay.each_index do |index|
            puts "[#{index}] : #{ay[index].to_s}"
        end
    end
end