Class: Markaby::Rails::FauxErbout
- Inherits:
-
Builder::BlankSlate
- Object
- Builder::BlankSlate
- Markaby::Rails::FauxErbout
- Defined in:
- lib/markaby/rails/deprecated.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(builder) ⇒ FauxErbout
constructor
A new instance of FauxErbout.
- #method_missing(*args, &block) ⇒ Object
-
#nil? ⇒ Boolean
see ActionView::Helpers::CaptureHelper#capture.
Constructor Details
#initialize(builder) ⇒ FauxErbout
Returns a new instance of FauxErbout.
107 108 109 |
# File 'lib/markaby/rails/deprecated.rb', line 107 def initialize(builder) @builder = builder end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args, &block) ⇒ Object
113 114 115 |
# File 'lib/markaby/rails/deprecated.rb', line 113 def method_missing(*args, &block) @builder.send *args, &block end |
Instance Method Details
#nil? ⇒ Boolean
see ActionView::Helpers::CaptureHelper#capture
110 111 112 |
# File 'lib/markaby/rails/deprecated.rb', line 110 def nil? # see ActionView::Helpers::CaptureHelper#capture true end |