stack overflow ruby
require 'forwardable'
class Node
extend Forwardable
delegate %w(hello) => :@helper
# Takes no params.
def initialize
@helper = Helper.new()
end
end
class Helper
# Outputs 'hello world'
def hello
puts 'hello world'
end
end