DevOps研发效能
媒体矩阵
开源中国APP
授权协议 MIT
开发语言 Ruby
操作系统 跨平台
软件类型 开源软件
所属分类 程序开发常用工具包
开源组织 GitHub
地区 不详
投 递 者 孔小菜
适用人群 未知
收录时间 2015-06-12

软件简介

Scientist 是一个用于精确重构关键路径的 Ruby 库。

示例代码:

require "scientist"class MyExperiment
  include ActiveModel::Model
  include Scientist::Experiment

  attr_accessor :name

  def enabled?
    # see "Ramping up experiments" below
    super
  end

  def publish(result)
    # see "Publishing results" below
    super
  end
end
# replace `Scientist::Default` as the default implementation
  module Scientist::Experiment
  def self.new(name)    
  MyExperiment.new(name: name)  
end
end
展开阅读全文

代码

的 Gitee 指数为
超过 的项目

评论

点击引领话题📣 发布并加入讨论🔥
暂无内容
发表了博客
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
发表了问答
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
暂无内容
0 评论
1 收藏
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部