Method: Stool::Command::Lib#validate!

Defined in:
lib/stool/Command/Lib.rb

#validate!Object



30
31
32
33
34
35
36
37
38
39
# File 'lib/stool/Command/Lib.rb', line 30

def validate!
  super
  unless @name
    help! 'need the lib `NAME`.'
  end

  unless existAtPools?
    help! "the lib named #{@name} did not find."
  end
end