GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: A new revision of Fuzed, the Erlang-based frontend for web apps. Check out the mailing list at http://groups.google.com/group/fuzed
Clone URL: git://github.com/KirinDave/fuzed.git
fuzed / rlibs / calc_node.rb
100644 13 lines (10 sloc) 0.187 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'chassis'
require 'rubygems'
require 'erlectricity'
require 'stringio'
 
class CalcNode < Chassis
  kind "calc"
 
  handle(:add, :a, :b) do |args|
    args[:a] + args[:b]
  end
end