/usr/share/doc/ruby-highline/examples/limit.rb is in ruby-highline 1.6.21-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/usr/bin/env ruby -w
# limit.rb
#
# Created by James Edward Gray II on 2008-11-12.
# Copyright 2008 Gray Productions. All rights reserved.
require "rubygems"
require "highline/import"
text = ask("Enter text (max 10 chars): ") { |q| q.limit = 10 }
puts "You entered: #{text}!"
|