Sha256: 5071aa3a7f033b6f344eb7436c5ebf1c0829ae3165b0f1892ac4a689393e644d
Contents?: true
Size: 710 Bytes
Versions: 8
Compression:
Stored size: 710 Bytes
Contents
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
Version data entries
8 entries across 8 versions & 1 rubygems