Sha256: 30590770bfade669cdced76baacc853b0303d6a7bd3b185bb78374a3c6fbcba2
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rabbit-2.1.3 | lib/rabbit/image/default.rb |