ruby script/plugin install git://rubyforge.org/auotopage.git or
ruby script/plugin install email@example.com:eiffelqiu/autopage.git
STEP 2: put in your html <head>
STEP 3: call tab_page function on String
<%= @article.tab_page(188) %>
still NOT function as a gem
before using autopage: <%= @article %> outputHe who knows other men is discerning; he who knows himself is intelligent. He who overcomes others is strong; he who overcomes himself is mighty. He who is satisfied with his lot is rich; he who goes on acting with energy has a (firm) will. He who does not fail in the requirements of his position, continues long; he who dies and yet does not perish, has longevity.
after using autopage: <%= @article.tab_page(188) %> output
Eiffel.Q --- A ruby, flex programmer.
Email: --- eiffelqiu [ at ] gmail.com
Twitter: --- http://twitter.com/eiffelqiu.
Autopage is a gem & rails plugin to convert long text content into multi tab page.
<%= @post.tab_page(300) %>
* gem install autopage
* ruby script/plugin install git://rubyforge.org/autopage.git