Module: Limit_character
- Defined in:
- lib/limit_character.rb
Instance Method Summary collapse
Instance Method Details
#process ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/limit_character.rb', line 7 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 |