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
561 562 563 |
# File 'lib/mindwords.rb', line 561 def initialize() end |
Instance Method Details
#input(content: '', action: 'mwupdate', target: 'icontent') ⇒ Object
can be used for main entries or a words list
568 569 570 571 572 573 574 575 576 577 578 |
# File 'lib/mindwords.rb', line 568 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 |