Module: Checky::Validators::Binary

Defined in:
lib/checky/validators/binary.rb

Instance Method Summary collapse

Instance Method Details

#checkObject

:reek:UtilityFunction



6
7
8
# File 'lib/checky/validators/binary.rb', line 6

def check
  !storage.binary.which.to_s.empty?
end

#messageObject

:reek:UtilityFunction



11
12
13
# File 'lib/checky/validators/binary.rb', line 11

def message
  "Checking for #{storage.binary}"
end