Class: Pod::Command::RepoArt::Lint

Inherits:
Pod::Command::RepoArt show all
Defined in:
lib/pod/command/repo_art/lint.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Lint

Returns a new instance of Lint.



23
24
25
# File 'lib/pod/command/repo_art/lint.rb', line 23

def initialize(argv)
  @cmd = Pod::Command::Repo::Lint.new(argv)
end

Class Method Details

.optionsObject



17
18
19
20
21
# File 'lib/pod/command/repo_art/lint.rb', line 17

def self.options
  [
      ['--only-errors', 'Lint presents only the errors']
  ].concat(super)
end

Instance Method Details

#runObject



31
32
33
# File 'lib/pod/command/repo_art/lint.rb', line 31

def run
  @cmd.run
end

#validate!Object



27
28
29
# File 'lib/pod/command/repo_art/lint.rb', line 27

def validate!
  @cmd.validate!
end