⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
lib
/
ruby
/
gems
/
3.0.0
/
gems
/
rbs-1.0.4
/
sig
/
View File Name :
buffer.rbs
module RBS class Buffer # Location in a buffer. # A pair of line number (1 origin) and column number (0 origin). # type loc = [Integer, Integer] # Name to identify Buffer. attr_reader name: untyped # The content of the buffer. attr_reader content: String attr_reader lines: Array[String] attr_reader ranges: Array[Range[Integer]] def initialize: (name: untyped name, content: String content) -> void # Translate position to location. def pos_to_loc: (Integer pos) -> loc # Translate location to position. def loc_to_pos: (loc loc) -> Integer def last_position: () -> Integer end end