Ruby::Run - Run Ruby script


Ruby documentation  | view source Contained in the Ruby distribution.

Index


NAME

Top

Ruby::Run - Run Ruby script

SYNOPSIS

Top

	use Ruby::Run;

	# write Ruby code

	def add(x, y)
		x + y
	end

	p add(1, 2) # => 3

SEE ALSO

Top

Ruby.


Ruby documentation  | view source Contained in the Ruby distribution.