Class: Heartml::ServerComponent
- Inherits:
-
Object
- Object
- Heartml::ServerComponent
- Defined in:
- lib/heartml/template_renderer.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.inherited(klass) ⇒ Object
11 12 13 14 |
# File 'lib/heartml/template_renderer.rb', line 11 def self.inherited(klass) super klass.include Heartml end |
.source_location ⇒ Object
5 6 7 8 9 |
# File 'lib/heartml/template_renderer.rb', line 5 def self.source_location caller_locations(1, 10).reject do |l| l.label == "inherited" end[1].absolute_path end |