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.
519 520 521 |
# File 'lib/mindwords.rb', line 519 def initialize() end |
Instance Method Details
#input(content: '', action: 'mwupdate', target: 'icontent') ⇒ Object
can be used for main entries or a words list
526 527 528 529 530 531 532 533 534 535 536 |
# File 'lib/mindwords.rb', line 526 def input(content: '', action: 'mwupdate', target: 'icontent') "<form action='\#{action}' method='post' target='\#{target}'>\n<textarea name='content' cols='30' rows='19'>\n\#{content}\n</textarea>\n<input type='submit' value='Submit'/>\n</form>\n" end |