lib/openwfe/expressions/iterator.rb
#
# Returns true if the given instance can be directly
# used as a list.
#
Returns true if the given instance can be directly
used as a list.
Returns true if the given instance can be directly used as a list .
def is_suitable_list? (instance)
      (not instance.is_a?(String)) and \
      instance.respond_to? :[] and \
      instance.respond_to? :length
    end
def is_suitable_list? ( instance ) ( not instance . is_a? ( String ) ) and instance . respond_to? :[] and instance . respond_to? :length end
Returns true if the given instance can be directly
used as a list.
Returns true if the given instance can be directly used as a list .
instance
<not_specific>