The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Markaby 0.3

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Markaby 0.3 Posted: Feb 1, 2006 10:17 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Markaby 0.3
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

Now that Markaby’s had some life experiences, Tim and I have sucker-punched it a bit here and there. And the sum of those shapings is 0.3.

You already know to gem install markaby.

  • Finally, full documentation.
  • A new render_markaby method for quickly outputting from inside a controller.
  • Cleaned up for general Ruby use, just attach a block to Markaby::Builder.new containing all your HTML calls.

A tip: you know how all calls to helpers are automatically output to the builder stream? Well, if you need the helper method’s output, just call it against the @helpers instance var.

 p "Total is: #{@helpers.number_to_human_size @file_bytes}" 

At least until we decide upon something fancier.

Read: Markaby 0.3

Topic: Laziness Previous Topic   Next Topic Topic: But why do you need that?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use