Class: RBI::BlankLine

Inherits:
Comment show all
Extended by:
T::Sig
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, #replace, #satisfies_version?, #string

Constructor Details

#initialize(loc: nil) ⇒ BlankLine

Returns a new instance of BlankLine.



80
81
82
# File 'lib/rbi/model.rb', line 80

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