Class: BootWheel::Internals::Component
- Inherits:
-
Object
- Object
- BootWheel::Internals::Component
- Includes:
- LittleWheels::Component
- Defined in:
- lib/boot_wheel/internals/renderer.rb,
lib/boot_wheel/internals/component.rb,
lib/boot_wheel/internals/action_pack.rb
Overview
TEMPORARY COMPATIBILITY SHIM - NOT INTENDED FOR REAL USE Might want to extract something “Official” into Little Wheels for testing outside a Rails app.
Defined Under Namespace
Classes: TagStub
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.t(filename) ⇒ Object
6 7 8 |
# File 'lib/boot_wheel/internals/component.rb', line 6 def self.t(filename) File.read(File.("../../../templates/#{filename}", File.dirname(__FILE__))) end |
Instance Method Details
#helpers ⇒ Object
21 22 23 |
# File 'lib/boot_wheel/internals/renderer.rb', line 21 def helpers BootWheel.helpers end |
#renderer ⇒ Object
17 18 19 |
# File 'lib/boot_wheel/internals/renderer.rb', line 17 def renderer BootWheel.renderer end |
#to_html ⇒ Object
31 32 33 |
# File 'lib/boot_wheel/internals/renderer.rb', line 31 def to_html to_s end |
#x ⇒ Object
25 26 27 |
# File 'lib/boot_wheel/internals/renderer.rb', line 25 def x TagStub end |