Title here
Summary here
Ruby is a dynamic, open-source, object-oriented programming language known for its simplicity and productivity, often used for web development and data analysis.
The send
method allows you to dynamically invoke a method.
class HelloWorld
def print(*args)
puts("Hello " + args.join(' '))
end
end
obj = HelloWorld.new()
obj.print('world') # => 'Hello World'
obj.send('print', 'world') # => 'Hello World'