Ruby - Strings - Methods I

Sort by

recency

|

37 Discussions

|

  • + 1 comment

    This problem is glitching in my browser. Unable to input code - when I edit the DOM directly it doesn't run as expected.

  • + 1 comment

    def process_text(arr) arr.map(&:strip).join(' ') end

  • + 0 comments

    def process_text(text_array) (text_array.map {|x| x.strip}).join(" ") end

  • + 0 comments

    ry useful advice in this particular article! It is the little changes which will make the largest changes. Thanks a lot for sharing Kitchen Remodel Contractors

  • + 0 comments
    def process_text(text_array)
      text_array.map(&:strip).join(" ")
    end