Sha256: 4c639468445c1f124ba2c8198b60a38906461448e2eed3119a933c6d2dacf46b

Contents?: true

Size: 267 Bytes

Versions: 23

Compression:

Stored size: 267 Bytes

Contents

module Coral
module Template
class Wrapper < Base
  #-----------------------------------------------------------------------------
  # Renderers  
   
  def render(input)
    return get(:template_prefix, '') + input.to_s + get(:template_suffix, '')
  end
end
end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
coral_core-0.2.30 lib/coral_core/template/wrapper.rb
coral_core-0.2.26 lib/coral_core/template/wrapper.rb
coral_core-0.2.25 lib/coral_core/template/wrapper.rb
coral_core-0.2.24 lib/coral_core/template/wrapper.rb
coral_core-0.2.19 lib/coral_core/template/wrapper.rb
coral_core-0.2.18 lib/coral_core/template/wrapper.rb
coral_core-0.2.17 lib/coral_core/template/wrapper.rb
coral_core-0.2.16 lib/coral_core/template/wrapper.rb
coral_core-0.2.15 lib/coral_core/template/wrapper.rb
coral_core-0.2.14 lib/coral_core/template/wrapper.rb
coral_core-0.2.13 lib/coral_core/template/wrapper.rb
coral_core-0.2.12 lib/coral_core/template/wrapper.rb
coral_core-0.2.11 lib/coral_core/template/wrapper.rb
coral_core-0.2.10 lib/coral_core/template/wrapper.rb
coral_core-0.2.9 lib/coral_core/template/wrapper.rb
coral_core-0.2.8 lib/coral_core/template/wrapper.rb
coral_core-0.2.7 lib/coral_core/template/wrapper.rb
coral_core-0.2.6 lib/coral_core/template/wrapper.rb
coral_core-0.2.5 lib/coral_core/template/wrapper.rb
coral_core-0.2.4 lib/coral_core/template/wrapper.rb