lib/kelp/helper.rb
# Convert a Cucumber::Ast::Table or multiline string into
# a list of strings
Convert a Cucumber::Ast::Table or multiline string into
a list of strings
Convert a Cucumber :: Ast :: Table or multiline string into a list of strings
def listify(items)
      if respond_to?(:raw)
        strings = items.raw.flatten
      elsif items.respond_to?(:split)
        strings = items.split(/[\r\n]+/)
      else
        strings = items.to_s.split(/[\r\n]+/)
      end
    end
def listify ( items ) if respond_to? ( :raw ) strings = items . raw . flatten elsif items . respond_to? ( :split ) strings = items . split ( / [ \r \n ]+ / ) else strings = items . to_s . split ( / [ \r \n ]+ / ) end end
Convert a Cucumber::Ast::Table or multiline string into
a list of strings
Convert a Cucumber :: Ast :: Table or multiline string into a list of strings
items
<not_specific>