Module: Zebra::Epl::HorizontalMultiplier

Includes:
BaseMultiplier
Defined in:
lib/zebra/epl/multipliers.rb

Constant Summary

Constants included from BaseMultiplier

BaseMultiplier::VALUE_1, BaseMultiplier::VALUE_2, BaseMultiplier::VALUE_3, BaseMultiplier::VALUE_4, BaseMultiplier::VALUE_5, BaseMultiplier::VALUE_6, BaseMultiplier::VALUE_7, BaseMultiplier::VALUE_8

Class Method Summary collapse

Methods included from BaseMultiplier

included

Class Method Details

.valid_multiplier?(multiplier) ⇒ Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/zebra/epl/multipliers.rb', line 27

def self.valid_multiplier?(multiplier)
  (1..8).include? multiplier
end