Module: OrganizeForumsMethods
- Defined in:
- lib/kuali-sakai-common-lib/forums.rb
Instance Method Summary collapse
-
#forum(index) ⇒ Object
These are set to so that the user does not have to start the list at zero…
- #save ⇒ Object
- #topic(forumindex, topicindex) ⇒ Object
Instance Method Details
#forum(index) ⇒ Object
These are set to so that the user does not have to start the list at zero…
215 216 217 |
# File 'lib/kuali-sakai-common-lib/forums.rb', line 215 def forum(index) frm.select(:id, "revise:forums:#{index.to_i - 1}:forumIndex") end |
#save ⇒ Object
208 209 210 211 |
# File 'lib/kuali-sakai-common-lib/forums.rb', line 208 def save frm.(:value=>"Save").click Forums.new(@browser) end |
#topic(forumindex, topicindex) ⇒ Object
219 220 221 |
# File 'lib/kuali-sakai-common-lib/forums.rb', line 219 def topic(forumindex, topicindex) frm.select(:id, "revise:forums:#{forumindex.to_i - 1}:topics:#{topicindex.to_i - 1}:topicIndex") end |