lib/shack/stamp.rb
# body - original body
# content - gets added to view
# options - Either a hash or a Configuration instance
original body
content - gets added to view
options - Either a hash or a Configuration instance
original body content - gets added to view options - Either a hash or a Configuration instance
def content
      if @custom_content
        c = @custom_content.gsub("{{sha}}", @sha)
        c.gsub!("{{short_sha}}", @short_sha)
        c
      else
        @sha
      end
    end
def content if @custom_content c = @custom_content . gsub ( "{{sha}}" , @sha ) c . gsub! ( "{{short_sha}}" , @short_sha ) c else @sha end end
body - original body
content - gets added to view
options - Either a hash or a Configuration instance
body - original body content - gets added to view options - Either a hash or a Configuration instance