Commit ffd6e993 authored by Fabio Pelosin's avatar Fabio Pelosin

[Command::IPC] Fix spelling

parent 87d76497
......@@ -3,7 +3,7 @@ module Pod
class IPC < Command
self.abstract_command = true
self.summary = 'Inter process communication'
self.summary = 'Inter-process communication'
#-----------------------------------------------------------------------#
......@@ -18,13 +18,12 @@ module Pod
super
end
def run
if @path.nil?
raise Informative, "Path not given."
elsif !File.exists?(@path)
raise Informative, "The given path doesn't exists `#{@path}` not given."
end
def validate!
super
help! "A specification path is required." unless @path
end
def run
spec = Specification.from_file(@path)
UI.puts spec.to_yaml
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment