Class: Deplate::HyperLink::Extended
- Inherits:
-
Object
- Object
- Deplate::HyperLink::Extended
- Defined in:
- lib/deplate/mod/imgurl.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#process ⇒ Object
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_imgurl ⇒ Object
22 |
# File 'lib/deplate/mod/imgurl.rb', line 22 alias :process_re_imgurl :process |