Class: Tilt::Template
Class Method Summary collapse
Class Method Details
.capture(context, &block) ⇒ Object
24 25 26 |
# File 'lib/crystal/template/support/tilt.rb', line 24 def self.capture context, &block raise "capture not implemented for #{self.class}!" end |
.concat(context, value) ⇒ Object
28 29 30 |
# File 'lib/crystal/template/support/tilt.rb', line 28 def self.concat context, value raise "concat not implemented for #{self.class}!" end |
.get_output(context) ⇒ Object
20 21 22 |
# File 'lib/crystal/template/support/tilt.rb', line 20 def self.get_output context raise "Output variable for #{self.class} not defined!" end |