Method: PlainTextExtractorDSL#extract_thumbnail_with

Defined in:
lib/picolena/templates/lib/plain_text_extractor_dsl.rb

#extract_thumbnail_with(command_as_hash_or_string = nil, &block) ⇒ Object



65
66
67
68
69
70
71
72
73
# File 'lib/picolena/templates/lib/plain_text_extractor_dsl.rb', line 65

def extract_thumbnail_with(command_as_hash_or_string=nil, &block)
  #TODO: Don't ignore block and use it as in extract_content_with
  @thumbnail_command=case command_as_hash_or_string
  when String
    command_as_hash_or_string
  when Hash
    command_for_current_platform(command_as_hash_or_string)
  end
end