lib/viddl/video/clip/resize.rb
def filename_token(options = {})
          if !options[:width].nil? || !options[:height].nil?
            args = ""
            if !options[:width].nil?
              args += "w#{options[:width]}"
            end
            if !options[:height].nil?
              args += "h#{options[:height]}"
            end
            args
          end
        end
# Token added to clip filename for resize args
# @param [Hash] options
# @option options [Integer] :width The desired width to resize to
# @option options [Integer] :height The desired height to resize to
# @return [String, nil]
Token added to clip filename for resize args
Token added to clip filename for resize args
def filename_token(options = {})
          if !options[:width].nil? || !options[:height].nil?
            args = ""
            if !options[:width].nil?
              args += "w#{options[:width]}"
            end
            if !options[:height].nil?
              args += "h#{options[:height]}"
            end
            args
          end
        end
def filename_token ( options = { } ) if ! options [ :width ] . nil? || ! options [ :height ] . nil? args = "" if ! options [ :width ] . nil? args += "w#{options[:width]}" end if ! options [ :height ] . nil? args += "h#{options[:height]}" end args end end
Token added to clip filename for resize args
Token added to clip filename for resize args
None
String, nil
options
:height The desired height to resize to
: height The desired height to resize to
None