Sha256: 69e028596b606b96421ac2b15de03a1b6d7d499530e4bdd044b499a262196420
Contents?: true
Size: 434 Bytes
Versions: 8
Compression:
Stored size: 434 Bytes
Contents
require "rabbit/image/base" module Rabbit module ImageManipulable class Default < Base push_loader(self) class << self def match?(filename) true end end private def update_size File.open(@filename, "rb") do |file| Dir.chdir(File.dirname(@filename)) do @pixbuf = load_data(file.read) end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems