lib/hotcell/node/assigner.rb in hotcell-0.0.1 vs lib/hotcell/node/assigner.rb in hotcell-0.1.0
- old
+ new
@@ -1,11 +1,7 @@
module Hotcell
class Assigner < Hotcell::Node
- def initialize *attrs
- super :ASSIGN, *attrs
- end
-
- def process context, name, value
+ def process context, value
context[name] = value
end
end
end