Sha256: 6306338f459732a658c394efc8efab54ccc579ec9d220ae8e2c87d48c98b8c5d

Contents?: true

Size: 259 Bytes

Versions: 12

Compression:

Stored size: 259 Bytes

Contents

module Mack
  module Rendering
    # Used when someone calls render(:text => "Hello World!")
    class Text < Base
      
      def render
        Mack::ViewBinder.render(options[:text], self.view_binder.controller, options)
      end
      
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mack-0.2.0 lib/rendering/classes/text.rb
mack-0.2.0.1 lib/rendering/classes/text.rb
mack-0.3.0 lib/rendering/classes/text.rb
mack-0.4.0 lib/rendering/classes/text.rb
mack-0.4.0.1 lib/rendering/classes/text.rb
mack-0.4.1 lib/rendering/classes/text.rb
mack-0.4.2.1 lib/rendering/classes/text.rb
mack-0.4.2 lib/rendering/classes/text.rb
mack-0.4.7 lib/rendering/classes/text.rb
mack-0.4.5 lib/rendering/classes/text.rb
mack-0.4.6 lib/rendering/classes/text.rb
mack-0.5.0 lib/rendering/classes/text.rb