module Danica module VariablesHolder class Dummy include Common include VariablesHolder variables :x, y: { latex: '\y' }, z: 10 delegate :to, :to_f, to: :block def block x ** y + z end end class DummyChild < Dummy variables :k, z: { name: 'zeta' } end class DummyOverwrite < Dummy variables :w reset_variables variables :k, z: { name: 'zeta' } end class DummyAlias < Dummy variable_alias :x, :a end end end module Danica module VariablesHolder class DummyString include Common include VariablesHolder variables 'x', 'y' => { latex: '\y' }, 'z' => 10 end end end