Method: WikiLib::PMWiki#get_edit_text
- Defined in:
- lib/wiki_lib/pm_wiki.rb
#get_edit_text(page) ⇒ String
Returns the edit text of a PMWiki page
48 49 50 51 52 53 54 |
# File 'lib/wiki_lib/pm_wiki.rb', line 48 def get_edit_text(page) # get the form, logging in if nessessary form = get_edit_form_with_login(edit_url(page)) # return the text form['text'] end |