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

Version Path
oj-3.16.9 test/sample/change.rb
oj-3.16.8 test/sample/change.rb
oj-3.16.7 test/sample/change.rb
oj-3.16.6 test/sample/change.rb
oj-3.16.5 test/sample/change.rb
oj-3.16.4 test/sample/change.rb
oj-3.16.3 test/sample/change.rb
oj-3.16.2 test/sample/change.rb
oj-3.16.1 test/sample/change.rb
oj-3.16.0 test/sample/change.rb
oj-3.15.1 test/sample/change.rb
oj-3.15.0 test/sample/change.rb
oj-3.14.3 test/sample/change.rb