Sha256: decb54264bf753660c2597df959c5e511e96690533ed239cec177e432bf8edbb
Contents?: true
Size: 402 Bytes
Versions: 4
Compression:
Stored size: 402 Bytes
Contents
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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
danica-2.7.4 | lib/danica/equation.rb |
danica-2.7.3 | lib/danica/equation.rb |
danica-2.7.2 | lib/danica/equation.rb |
danica-2.7.1 | lib/danica/equation.rb |