Cuban web template




















The plugin provides three helper methods for rendering templates: partial , view and render. By default, Cuba::Render assumes that all templates are placed in a folder named views and that they use the proper extension for the chosen template engine. Also for the view and render methods, it assumes that the layout template is called layout. You need to install it gem install tilt.

That's the simplest kind of plugin you'll write. In fact, that's exactly how the markdown helper is written in Cuba::TextHelpers. A more complicated plugin can make use of Cuba. In the following example, note that if the module has a setup method, it will be called as soon as it is included:. Finally, if a module called ClassMethods is present, Cuba will be extended with it.

A good first step is to meet us on IRC and discuss ideas. If that's not possible, you can create an issue explaining the proposed change and a use case. We pay a lot of attention to use cases, because our goal is to keep the code base simple. In many cases, the result of a conversation will be the creation of another tool, instead of the modification of Cuba itself.

If you want to test Cuba, you may want to use a gemset to isolate the requirements. We recommend the use of tools like dep and gs , but you can use similar tools like gst or bs. The required gems for testing and development are listed in the.

If you are using dep , you can create a gemset and run dep install. Skip to content. Star 1. Rum based microframework for web development. MIT License. Branches Tags. Could not load branches. Could not load tags. Latest commit. Git stats commits. Failed to load latest commit information. Add measurement for Hash vs Rack::HeaderHash. Mar 2, Workaround a bug in Rack. Aug 11, Fix cookie format in test. Add webrat. May 14, Nov 21, Fix typo.

Mar 27, Mar 25, Sep 25, Add makefile. May 27, View code. Cuba n. Community Meet us on IRC: cuba. Description Cuba is a microframework for web development originally inspired by Rum , a tiny but powerful mapper for Rack applications. About Rum based microframework for web development. Releases 5 Caching regular expressions Latest. As you can see this bundle received 20 ratings with an average of 5 points. Discount is already waiting for you in the cart. Licence type:.

They Trust Us. Have a question? Start chat! See bundle. Rainbow SVG Collection. Seamless Watercolor Botanical Patterns. Cuba — Powerpoint Template Description Cuba — Presentation Template is a Minimalist, Creative, Unique presentation template for commercial enterprise or personal use, creative industry, business and many more.

Check Price. Best Related Deals. Eduplay Smart Powerpoint Template. Travelosa — Japanese PowerPoint Template. Nihong — Business Powerpoint Template.



0コメント

  • 1000 / 1000