In previous versions, it was like normal ruby of JavaScript function call
You can do it by using namespace:
namespace :test do
task :one do
end
task :two do
test.one
# or just directly call it:
one
end
end
Just be careful with the name you use to not overwrite some important function.
Continue reading