Method: Zebra::Zpl::PrintMode.valid_mode?

Defined in:
lib/zebra/zpl/print_mode.rb

.valid_mode?(mode) ⇒ Boolean



9
10
11
# File 'lib/zebra/zpl/print_mode.rb', line 9

def self.valid_mode?(mode)
  %w(N R).include? mode
end