module FDimagePath
Public Class Methods
new(data)
click to toggle source
# File lib/fdimage/fdimage_path.rb, line 2 def initialize(data) data = Pathname.new(data) if data.exist? @image = MiniMagick::Image.open(data.to_s) end end