Class: RBI::BlankLine

Inherits:
Comment show all
Defined in:
lib/rbi/model.rb

Overview

An arbitrary blank line that can be added both in trees and comments

Instance Attribute Summary

Attributes inherited from Comment

#text

Attributes inherited from Node

#loc, #parent_tree

Instance Method Summary collapse

Methods inherited from Comment

#==

Methods inherited from Node

#compatible_with?, #detach, #merge_with, #parent_conflict_tree, #parent_scope, #print, #rbs_print, #rbs_string, #replace, #satisfies_version?, #string

Constructor Details

#initialize(loc: nil) ⇒ BlankLine

: (?loc: Loc?) -> void



75
76
77
# File 'lib/rbi/model.rb', line 75

def initialize(loc: nil)
  super("", loc: loc)
end