require 'copland' registry = Copland::Registry.build calc = registry.service( "tutorial.Calculator" ) puts "sin(pi/4) = #{calc.function( "sin", Math::PI/4 )}" puts "ln(e^3) = #{calc.function( "ln", Math::E ** 3 )}" registry.shutdown