What’s Nu in the .NET World Part 2: Creating a Gem(dannydouglass.com)

submitted by DannyDouglassDannyDouglass(1260) 1 year, 9 months ago

If you are not familiar with the Nu project start by reading my first post in this series that gives an introduction to getting started with this promising tool. As a quick reference I’ll post a paragraph from the last post introducing Nu: “Nu is an open source tool built by Dru Sellers (and several others) that aims at bringing Gems, one of Ruby’s most revered features, to the .NET world. If you are not familiar with Gems I suggest you take a minute to read up on them. I would venture a bet that you are already familiar with at least one gem – Ruby on Rails. The following line of code is all that is required to install the Ruby on Rails gem (after installing the Ruby library of course)…” This post is focused on sharing my experience in creating my first gem for the Spark View Engine. I would be doing you a great disservice if I did not start by saying how easy it is to create a gem. Actually easy is the wrong phrase – crazy easy is more telling. Since I would never ask you to take my word for it, it must mean it is time to show some code.

add a comment |category: |Views: 10

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story