Sha256: 8c06e86049c57d65bd03045c0ad0bf73f86714f066de8d3e5b17cbf5d82aec78
Contents?: true
Size: 277 Bytes
Versions: 3
Compression:
Stored size: 277 Bytes
Contents
require 'rubygems' MAX_SIZE = 115 module Limit_character def process list_item = super elements = [] list_item.each do |item| #temp_value = item temp_value = item[0..MAX_SIZE] elements.push(temp_value) end return elements end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
google_api_hashtag-0.1.4 | lib/limit_character.rb |
google_api_hashtag-0.1.3 | lib/limit_character.rb |
google_api_hashtag-0.1.2 | lib/limit_character.rb |