Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
oj / test / sample / change.rb
Size: Mime:

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