Class: Mullet::HTML::CommandElementRenderer

Inherits:
ElementRenderer show all
Defined in:
lib/mullet/html/command_element_renderer.rb

Overview

Answers true when asked if it has any command.

Direct Known Subclasses

ForElementRenderer, IfElementRenderer

Constant Summary

Constants inherited from ElementRenderer

ElementRenderer::ATTRIBUTE_NAME_MISSING_ERROR, ElementRenderer::ATTRIBUTE_NAME_SEPARATOR, ElementRenderer::ATTRIBUTE_SEPARATOR, ElementRenderer::ATTRIBUTE_SYNTAX_ERROR, ElementRenderer::CONVENIENT_ATTRIBUTE_COMMANDS

Instance Attribute Summary

Attributes inherited from ElementRenderer

#remove_mode

Instance Method Summary collapse

Methods inherited from ElementRenderer

#add_attribute_command, #add_attribute_commands, #add_attribute_message_command, #add_attribute_message_commands, #configure_attribute_commands, #configure_attribute_message_commands, #configure_commands, #configure_content, #execute_attribute_commands, #has_dynamic_content, #render, #render_content, #render_end_tag, #render_start_tag, #should_render_content, #should_render_tag

Methods included from Container

#add_child, #children, #clear_children, #delete_child, #render_children

Constructor Details

#initialize(element) ⇒ CommandElementRenderer

Constructor



10
11
12
# File 'lib/mullet/html/command_element_renderer.rb', line 10

def initialize(element)
  super(element)
end

Instance Method Details

#has_commandObject



14
15
16
# File 'lib/mullet/html/command_element_renderer.rb', line 14

def has_command()
  return true
end