class MindWordsWidget

Public Class Methods

new() click to toggle source
# File lib/mindwords.rb, line 501
def initialize()

end

Public Instance Methods

input(content: '', action: 'mwupdate', target: 'icontent') click to toggle source

can be used for main entries or a words list

# File lib/mindwords.rb, line 508
  def input(content: '', action: 'mwupdate', target: 'icontent')

<<EOF
<form action='#{action}' method='post' target='#{target}'>
  <textarea name='content' cols='30' rows='19'>
#{content}
  </textarea>
  <input type='submit' value='Submit'/>
</form>
EOF
  end