Method: Lookbook::RenderableEntity#template?

Defined in:
lib/lookbook/entities/renderable_entity.rb

#template?Boolean

Whether or not the renderable is a view template/partial (as opposed to a component).

Returns:

  • (Boolean)

    True if component



83
84
85
# File 'lib/lookbook/entities/renderable_entity.rb', line 83

def template?
  !component?
end