diff --git a/Using-Liquid-without-Rails.textile b/Using-Liquid-without-Rails.textile index 54884bf..aa9c0a8 100644 --- a/Using-Liquid-without-Rails.textile +++ b/Using-Liquid-without-Rails.textile @@ -3,13 +3,15 @@ The secret is creating a @to_liquid@ method on any classes you create. Let's say you have a Product class: -
class Product
+

+class Product
   attr_accessor :name, :price
   def initialize(name,price)
     @name = name
     @price = price
   end
-end
+end +
And you have a chunk of text that you want to Liquidize by inserting some details about your products: