Class: Tumblargh::Renderer::Blocks::Answer
- Inherits:
-
Post
- Object
- Tumblargh::Renderer::Base
- Post
- Tumblargh::Renderer::Blocks::Answer
- Defined in:
- lib/tumblargh/renderer/blocks/answer.rb
Instance Attribute Summary
Attributes inherited from Tumblargh::Renderer::Base
Instance Method Summary collapse
Methods inherited from Post
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
#asker ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/tumblargh/renderer/blocks/answer.rb', line 8 def asker if asking_name == 'anonymous' 'Anonymous' else "<a href='#{asking_url}'>#{asking_name}</a>" end end |
#asker_portrait_url(size) ⇒ Object
16 17 |
# File 'lib/tumblargh/renderer/blocks/answer.rb', line 16 def asker_portrait_url(size) end |