Method: Tilt.current_template
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/tilt-2.0.11/lib/tilt.rb
.current_template ⇒ Object
Note:
This is currently an experimental feature and might return nil in the future.
Returns the template object that is currently rendering.
69 70 71 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/tilt-2.0.11/lib/tilt.rb', line 69 def self.current_template Thread.current[:tilt_current_template] end |