Class: Deplate::HyperLink::Extended

Inherits:
Object
  • Object
show all
Defined in:
lib/deplate/mod/imgurl.rb

Direct Known Subclasses

ExtendedLinkMap

Instance Method Summary collapse

Instance Method Details

#processObject



23
24
25
26
27
28
29
# File 'lib/deplate/mod/imgurl.rb', line 23

def process
    if @dest =~ /\.(png|jpg|jpeg|gif|bmp)$/
        @elt = @deplate.formatter.include_image(self, encode_path(@dest), @args, true)
    else
        process_re_imgurl
    end
end

#process_re_imgurlObject



22
# File 'lib/deplate/mod/imgurl.rb', line 22

alias :process_re_imgurl :process