Sha256: 63711d8e2c56cd60c8d3bb1650d78e277360f3434ba3b6a5b01da3253150f6c8
Contents?: true
Size: 429 Bytes
Versions: 3
Compression:
Stored size: 429 Bytes
Contents
# frozen_string_literal: true module Danica class Equation include VariablesHolder autoload :Builder, 'danica/equation/builder' class << self def build(*variables, &block) Builder.new(*variables, &block).build end def create(*variables, &block) build(*variables, &block).new end end def to(*args) "#{left.to(*args)} = #{right.to(*args)}" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
danica-2.7.7 | lib/danica/equation.rb |
danica-2.7.6 | lib/danica/equation.rb |
danica-2.7.5 | lib/danica/equation.rb |