class Yomikomu::FlatFileGZStorage
Public Class Methods
new()
click to toggle source
Calls superclass method
Yomikomu::FlatFileStorage::new
# File lib/yomikomu.rb, line 345 def initialize super require 'zlib' end
Public Instance Methods
data_path()
click to toggle source
Calls superclass method
Yomikomu::FlatFileStorage#data_path
# File lib/yomikomu.rb, line 341 def data_path super + '_gz' end
index_path()
click to toggle source
Calls superclass method
Yomikomu::FlatFileStorage#index_path
# File lib/yomikomu.rb, line 337 def index_path super + '_gz' end
read_compiled_iseq(fname, iseq_key)
click to toggle source
Calls superclass method
Yomikomu::FlatFileStorage#read_compiled_iseq
# File lib/yomikomu.rb, line 350 def read_compiled_iseq fname, iseq_key binary = super Zlib::Inflate.inflate(binary) end
write_compiled_iseq(fname, iseq_key, binary)
click to toggle source
Calls superclass method
Yomikomu::FlatFileStorage#write_compiled_iseq
# File lib/yomikomu.rb, line 355 def write_compiled_iseq fname, iseq_key, binary binary = Zlib::Deflate.deflate(binary) super(fname, iseq_key, binary) end