class Tumblargh::Renderer::Tag

Public Instance Methods

render() click to toggle source
# File lib/tumblargh/renderer/tag.rb, line 4
def render
  # {PhotoURL-500} becomes photo_url(500)
  tag, *args = node[1].split('-')
  context.send tag.underscore, *args
end