Class: Deklarativna::SingleTagRenderable

Inherits:
Renderable
  • Object
show all
Defined in:
lib/deklarativna_core.rb

Overview

Public Class This class is intended to render tags following the ‘<tagname />’ pattern

Instance Attribute Summary

Attributes inherited from Renderable

#attributes, #tag_name

Instance Method Summary collapse

Methods inherited from Renderable

#initialize, #render_attributes

Constructor Details

This class inherits a constructor from Deklarativna::Renderable

Instance Method Details

#to_sObject



63
64
65
# File 'lib/deklarativna_core.rb', line 63

def to_s
  "<#{@tag_name}#{render_attributes} />"
end