Class: Percheron::OhDear

Inherits:
Object
  • Object
show all
Defined in:
lib/percheron/oh_dear.rb

Instance Method Summary collapse

Constructor Details

#initialize(exception) ⇒ OhDear

Returns a new instance of OhDear.



4
5
6
# File 'lib/percheron/oh_dear.rb', line 4

def initialize(exception)
  @exception = exception
end

Instance Method Details

#generateObject



8
9
10
# File 'lib/percheron/oh_dear.rb', line 8

def generate
  template
end