Class: Tumblargh::Renderer::Blocks::ContentSource

Inherits:
Tumblargh::Renderer::Base show all
Defined in:
lib/tumblargh/renderer/blocks.rb

Instance Attribute Summary

Attributes inherited from Tumblargh::Renderer::Base

#context, #node, #options

Instance Method Summary collapse

Methods inherited from Tumblargh::Renderer::Base

#context_post, contextual_tag, #escape_html, #escape_url, #initialize, #method_missing, #render, #strip_html

Constructor Details

This class inherits a constructor from Tumblargh::Renderer::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Tumblargh::Renderer::Base

Instance Method Details

#black_logo_urlObject

TODO: Impl.



142
143
# File 'lib/tumblargh/renderer/blocks.rb', line 142

def black_logo_url
end

#logo_heightObject



148
149
# File 'lib/tumblargh/renderer/blocks.rb', line 148

def logo_height
end

#logo_widthObject



145
146
# File 'lib/tumblargh/renderer/blocks.rb', line 145

def logo_width
end

#should_render?Boolean

Returns:



134
135
136
# File 'lib/tumblargh/renderer/blocks.rb', line 134

def should_render?
  !source_title.nil?
end