Class: Pandora::Commands::Lint

Inherits:
Object
  • Object
show all
Defined in:
lib/pandora/commands/lint.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file) ⇒ Lint

Initializes the command with the file that has to be validated.

Parameters:

  • file (File)

    that has to be validated



11
12
13
# File 'lib/pandora/commands/lint.rb', line 11

def initialize(file)
  @file = file
end

Instance Attribute Details

#fileObject (readonly)

File that has to be validated.



6
7
8
# File 'lib/pandora/commands/lint.rb', line 6

def file
  @file
end

Instance Method Details

#executeObject

Executes the command



16
17
18
# File 'lib/pandora/commands/lint.rb', line 16

def execute
  # TODO
end