Class: MindWordsWidget
- Inherits:
-
Object
- Object
- MindWordsWidget
- Defined in:
- lib/mindwords.rb
Instance Method Summary collapse
-
#initialize ⇒ MindWordsWidget
constructor
A new instance of MindWordsWidget.
-
#input(content: '', action: 'mwupdate', target: 'icontent') ⇒ Object
can be used for main entries or a words list.
Constructor Details
#initialize ⇒ MindWordsWidget
Returns a new instance of MindWordsWidget.
563 564 565 |
# File 'lib/mindwords.rb', line 563 def initialize() end |
Instance Method Details
#input(content: '', action: 'mwupdate', target: 'icontent') ⇒ Object
can be used for main entries or a words list
570 571 572 573 574 575 576 577 578 579 580 |
# File 'lib/mindwords.rb', line 570 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 |