lib/include/class_session.rb in knjappserver-0.0.22 vs lib/include/class_session.rb in knjappserver-0.0.23
- old
+ new
@@ -1,11 +1,11 @@
class Knjappserver::Session < Knj::Datarow
attr_reader :edata
attr_accessor :sess_data
- def initialize(d)
+ def initialize(*args, &block)
@edata = {}
- super(d)
+ super(*args, &block)
if self[:sess_data].to_s.length > 0
begin
@sess_data = Marshal.load(Base64.decode64(self[:sess_data]))
rescue ArgumentError
\ No newline at end of file