Class: RBS::Location

Inherits:
Object
  • Object
show all
Defined in:
lib/rigor/cache/rbs_environment_marshal_patch.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

._load(_) ⇒ Object



35
36
37
# File 'lib/rigor/cache/rbs_environment_marshal_patch.rb', line 35

def self._load(_)
  new(buffer: ::RBS::Buffer.new(name: "<cached>", content: ""), start_pos: 0, end_pos: 0)
end

Instance Method Details

#_dump(_) ⇒ Object



31
32
33
# File 'lib/rigor/cache/rbs_environment_marshal_patch.rb', line 31

def _dump(_)
  ""
end