You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

21 lines
307 B

require "json"
module Crystal::Scatter
class Slice
JSON.mapping(
s_begin: UInt64,
s_end: UInt64,
url: String,
id: Int32
)
def initialize(@s_begin,@s_end,@url,@id)
end
end
class Ring < Array(Slice)
end
end