Sha256: a0eba8dc07ab720ff6007c4b0e5772fd3f3d66273f9ddca345928b3554f8094d
Contents?: true
Size: 904 Bytes
Versions: 6
Compression:
Stored size: 904 Bytes
Contents
class Magic < Measured::Measurable conversion.set_base :magic_missile, aliases: [:magic_missiles] conversion.add :fireball, aliases: [:fire, :fireballs], value: "2/3 magic_missile" conversion.add :ice, value: "2 magic_missile" conversion.add :arcane, value: "10 magic_missile" conversion.add :ultima, value: "10 arcane" end class CaseSensitiveMagic < Measured::CaseSensitiveMeasurable conversion.set_base :magic_missile, aliases: [:magic_missiles] conversion.add :fireball, aliases: [:fire, :fireballs], value: "2/3 magic_missile" conversion.add :ice, value: "2 magic_missile" conversion.add :arcane, value: "10 magic_missile" conversion.add :ultima, value: "10 arcane" end class OtherFakeSystem < Measured::Measurable conversion.set_base :other_fake_base conversion.add :other_fake1, value: "2 other_fake_base" end
Version data entries
6 entries across 6 versions & 1 rubygems