路径重构 Scientist

码农软件 · 软件分类 · 常用工具包 · 2019-08-17 19:26:29

软件介绍

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

本文地址:https://codercto.com/soft/d/12586.html

CSS3 For Web Designers

CSS3 For Web Designers

Dan Cederholm / Happy Cog / 2010-11 / $18

From advanced selectors to generated content to the triumphant return of web fonts, and from gradients, shadows, and rounded corners to full-blown animations, CSS3 is a universe of creative possibilit......一起来看看 《CSS3 For Web Designers》 这本书的介绍吧!

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试