Sha256: 04d6de93b00c24532bc08ff1ad20745430e53abe5bc5953ebc0c56886d5b2b09
Contents?: true
Size: 424 Bytes
Versions: 4
Compression:
Stored size: 424 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 load_data(file.read) end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rabbit-3.0.3 | lib/rabbit/image/default.rb |
rabbit-3.0.2 | lib/rabbit/image/default.rb |
rabbit-3.0.1 | lib/rabbit/image/default.rb |
rabbit-3.0.0 | lib/rabbit/image/default.rb |