Method: Lolcommits::Plugin::Loltext#configure_options!

Defined in:
lib/lolcommits/plugin/loltext.rb

#configure_options!Hash

Prompts the user to configure text options.

Returns:

  • (Hash)

    a hash of configured plugin options



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/lolcommits/plugin/loltext.rb', line 50

def configure_options!
  puts '---------------------------------------------------------------'
  puts '  LolText options '
  puts ''
  puts '  * any blank options will use the (default)'
  puts '  * always use the full absolute path to fonts'
  puts '  * valid text positions are NE, NW, SE, SW, S, C (centered)'
  puts '  * colors can be hex #FC0 value or a string \'white\''
  puts '      - use `none` for no stroke color'
  puts '  * overlay fills your image with a random color'
  puts '      - set one or more overlay_colors with a comma seperator'
  puts '      - overlay_percent (0-100) sets the fill colorize strength'
  puts '---------------------------------------------------------------'

  super
end