Sha256: 4dd2ae398b022d9d2c33338696c660099fad6964a38634fff1cb7b1891c1e402

Contents?: true

Size: 370 Bytes

Versions: 4

Compression:

Stored size: 370 Bytes

Contents

require 'rubygems'

class Remove_blank

=begin
  def initialize(list_item)
    @my_array = list_item
  end
=end

  def pass_on(list_item)
    @my_array = list_item
  end

  def process
    elements = []
    @my_array.each do |item|
      temp_value = item
      temp_value = temp_value.delete(' ')
      elements.push(temp_value)
    end

    return elements

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
google_api_hashtag-0.1.5 lib/remove_blank.rb
google_api_hashtag-0.1.4 lib/remove_blank.rb
google_api_hashtag-0.1.3 lib/remove_blank.rb
google_api_hashtag-0.1.2 lib/remove_blank.rb