Sha256: 766206741405e868af8f5f0227957d3200b8b8a92c078d5427bb558ed3e0b65f

Contents?: true

Size: 340 Bytes

Versions: 17

Compression:

Stored size: 340 Bytes

Contents

module Nucleon
module Template
class Wrapper < Nucleon.plugin_class(:nucleon, :template)
  
  #-----------------------------------------------------------------------------
  # Renderers  
   
  def render_processed(data)
    return super do
      get(:template_prefix, '') + data.to_s + get(:template_suffix, '')
    end
  end
end
end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
nucleon-0.2.16 lib/nucleon/template/wrapper.rb
nucleon-0.2.15 lib/nucleon/template/wrapper.rb
nucleon-0.2.14 lib/nucleon/template/wrapper.rb
nucleon-0.2.13 lib/nucleon/template/wrapper.rb
nucleon-0.2.12 lib/nucleon/template/wrapper.rb
nucleon-0.2.11 lib/nucleon/template/wrapper.rb
nucleon-0.2.10 lib/nucleon/template/wrapper.rb
nucleon-0.2.9 lib/nucleon/template/wrapper.rb
nucleon-0.2.8 lib/nucleon/template/wrapper.rb
nucleon-0.2.7 lib/nucleon/template/wrapper.rb
nucleon-0.2.6 lib/nucleon/template/wrapper.rb
nucleon-0.2.5 lib/nucleon/template/wrapper.rb
nucleon-0.2.4 lib/nucleon/template/wrapper.rb
nucleon-0.2.3 lib/nucleon/template/wrapper.rb
nucleon-0.2.2 lib/nucleon/template/wrapper.rb
nucleon-0.2.1 lib/nucleon/template/wrapper.rb
nucleon-0.2.0 lib/nucleon/template/wrapper.rb