Class: Postmortem::Identity

Inherits:
Object
  • Object
show all
Defined in:
lib/postmortem/identity.rb

Overview

Provides an HTML document that announces a unique ID to a parent page via JS message events.

Instance Method Summary collapse

Instance Method Details

#contentObject



6
7
8
# File 'lib/postmortem/identity.rb', line 6

def content
  ERB.new(File.read(path), trim_mode: '-').result(binding)
end