Sha256: ca98af0a446a659817b7fce9ea560de5c9ed73ece1e0fda5657d976409d21718
Contents?: true
Size: 288 Bytes
Versions: 13
Compression:
Stored size: 288 Bytes
Contents
module Sample class Change attr_accessor :time attr_accessor :user attr_accessor :comment def initialize(comment=nil, time=nil, user=nil) @user = user || ENV['USER'] @time = time || Time.now @comment = comment end end # Change end # Sample
Version data entries
13 entries across 13 versions & 1 rubygems