Example Utility (Ruby)
Tutorial/Learning
An example utility script, coded in Ruby, to help newcomers learn how to make their own.
Returns: Plain Text
Calling Method(s): GET/POST
Coded in: Ruby
Utility Code:
=begin
Test utility script in Ruby to help guide you make one.
This script is executed when you use the URL https://fech.space/example-ruby/
You add your parameters at the end of the URL, separated by a "/".
Example:
https://fech.space/example-ruby/parameters/will/go/here/and/here
=end
def main
puts "Fechspace Ruby Example:"
ARGV.each do |arg|
puts arg
end
$stdout.flush
end
main
Give Feedback
Community's Feedback on Utility
Utility Credits and Resources
(no credits mentioned for this utility)