Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (8 sloc) 0.217 kb
require 'client'
erlang = Rebar::Erlang.new(:funs, '127.0.0.1', 5500)
ans = erlang.add(1, 2)
puts "1 + 2 = #{ans}"
ans = erlang.cat("foo", "bar")
puts "foobar = #{ans}"
ans = erlang.fac(10)
puts "fac(10) = #{ans}"
Jump to Line
Something went wrong with that request. Please try again.