spec/support/models/variables_holder/dummy.rb in danica-2.7.4 vs spec/support/models/variables_holder/dummy.rb in danica-2.7.5
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
module Danica
module VariablesHolder
class Dummy
include Common
include VariablesHolder
@@ -7,10 +9,10 @@
variables :x, y: { latex: '\y' }, z: 10
delegate :to, :to_f, to: :block
def block
- x ** y + z
+ x**y + z
end
end
class DummyChild < Dummy
variables :k, z: { name: 'zeta' }