Sha256: 1a7672461d0b5a5af9376da11f33bc41a9ae1dd53be0472c3e88901cd7de0479
Contents?: true
Size: 435 Bytes
Versions: 2
Compression:
Stored size: 435 Bytes
Contents
module MiniMagick class Image def initialize(source) if source.is_a?(String) || source.is_a?(Pathname) @source_path = source.to_s elsif source.respond_to?(:path) @source_path = source.path else fail ArgumentError, "invalid source object: #{source.inspect} (expected String, Pathname or #path)" end end def method_missing end end end image = MiniMagick::Image.new()
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mini_magick-4.10.1 | lib/mini_magick/immutable_image.rb |
mini_magick-4.10.0 | lib/mini_magick/immutable_image.rb |