Class: AdLint::EmptySource

Inherits:
Source
  • Object
show all
Defined in:
lib/adlint/source.rb

Instance Attribute Summary

Attributes inherited from Source

#fpath, #included_at

Instance Method Summary collapse

Methods inherited from Source

#analysis_target?, #open, #system_header?, #to_s, #user_header?

Methods included from Pluggable

#def_plugin

Constructor Details

#initializeEmptySource

Returns a new instance of EmptySource.



136
137
138
139
# File 'lib/adlint/source.rb', line 136

def initialize
  super(File::NULL, nil, nil)
  @content = "\n"
end