Class: AdLint::EmptySource
Instance Attribute Summary
Attributes inherited from Source
Instance Method Summary collapse
-
#initialize ⇒ EmptySource
constructor
A new instance of EmptySource.
Methods inherited from Source
#analysis_target?, #open, #system_header?, #to_s, #user_header?
Methods included from Pluggable
Constructor Details
#initialize ⇒ EmptySource
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 |