Sha256: f3eba04448a48bf314eb3a6279fd3ac5ea414137de29d56418bf69bc358e4220
Contents?: true
Size: 211 Bytes
Versions: 1
Compression:
Stored size: 211 Bytes
Contents
class UserEvent attr_accessor :events def add_event(data) self.clear if self.events.nil? self.events << data end def get_events return self.events ||= [] end def clear self.events = [] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
onlinegames_info_connect-0.0.1 | app/models/user_event.rb |