class AdLint::Cpp::UndefLine
Attributes
identifier[R]
Public Class Methods
new(keyword, id)
click to toggle source
Calls superclass method
AdLint::Cpp::ControlLine::new
# File lib/adlint/cpp/syntax.rb, line 418 def initialize(keyword, id) super(keyword) @identifier = id end
Public Instance Methods
inspect(indent = 0)
click to toggle source
# File lib/adlint/cpp/syntax.rb, line 425 def inspect(indent = 0) " " * indent + "#{short_class_name} (#{@identifier.inspect})" end