lib/format_engine/spec_info.rb
def grab
      width = fmt.width

      if width > 0
        result, @src = src[0...width], src[width..-1] || ""
      elsif width == 0
        result, @src = src[0...1], src[1..-1] || ""
      elsif width == -1
        result, @src = src, ""
      else
        result, @src = src[0..width], src[(width+1)..-1] || ""
      end

      result
    end
def grab
      width = fmt.width

      if width > 0
        result, @src = src[0...width], src[width..-1] || ""
      elsif width == 0
        result, @src = src[0...1], src[1..-1] || ""
      elsif width == -1
        result, @src = src, ""
      else
        result, @src = src[0..width], src[(width+1)..-1] || ""
      end

      result
    end
Grab some text