Class: ERBTemplate

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

Instance Method Summary collapse

Constructor Details

#initialize(title, content) ⇒ ERBTemplate

Returns a new instance of ERBTemplate.



81
82
83
84
# File 'lib/johnny.rb', line 81

def initialize(title, content)
  @title = title
  @content = content
end

Instance Method Details

#getBindingObject



86
87
88
# File 'lib/johnny.rb', line 86

def getBinding
  return binding()
end