Sha256: 17a96b500f4026d8abb22d18ed8df7ec539026dbee317b2e3ef605aede017ba8

Contents?: true

Size: 255 Bytes

Versions: 12

Compression:

Stored size: 255 Bytes

Contents

module Mack
  module Rendering
    # Used when someone calls render(:partial => "latest_news")
    class Partial < Base
      
      def render
        render_file(options[:partial], {:is_partial => true}.merge(options))
      end
      
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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