Class: DpkgTools::Package::ControlFiles::Rules

Inherits:
Base
  • Object
show all
Defined in:
lib/dpkg-tools/package/control_files/rules.rb

Instance Attribute Summary

Attributes inherited from Base

#config, #data, #formatter

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

check_target_dir, #file_path, #filename, #initialize, #needs_reset?, #to_s, write, #write, write_executable

Constructor Details

This class inherits a constructor from DpkgTools::Package::ControlFiles::Base

Class Method Details

.filenameObject



6
7
8
# File 'lib/dpkg-tools/package/control_files/rules.rb', line 6

def filename
  'rules'
end

.formatter_classObject



10
11
12
# File 'lib/dpkg-tools/package/control_files/rules.rb', line 10

def formatter_class
  RulesFormatter
end

Instance Method Details

#executable?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/dpkg-tools/package/control_files/rules.rb', line 15

def executable?
  true
end