lib/larynx/session.rb in larynx-0.1.4 vs lib/larynx/session.rb in larynx-0.1.5
- old
+ new
@@ -10,9 +10,13 @@
if @variables.has_key?(method.to_sym)
@variables[method.to_sym]
end
end
+ def []=(key, value)
+ @variables[key] = value
+ end
+
def [](key)
@variables[key]
end
end