Class: Prism::Merge::Comment::RuntimeLine

Inherits:
Line
  • Object
show all
Defined in:
lib/prism/merge/comment/runtime_line.rb

Overview

Synthetic comment line emitted from runtime child-merge reintegration rather than directly replayed from the original analyzed source line.

Constant Summary

Constants inherited from Line

Line::MAGIC_COMMENT_PATTERNS

Instance Attribute Summary

Attributes inherited from Line

#magic_comment_type

Instance Method Summary collapse

Methods inherited from Line

from_tree_haver, #initialize, #inspect, #magic_comment?, magic_comment_type_for, #magic_comment_value, #signature

Constructor Details

This class inherits a constructor from Prism::Merge::Comment::Line

Instance Method Details

#runtime_override?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/prism/merge/comment/runtime_line.rb', line 9

def runtime_override?
  true
end