Class: Markaby::Rails::FauxErbout
- Defined in:
- lib/markaby/rails.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.
78 79 80 |
# File 'lib/markaby/rails.rb', line 78 def initialize(builder) @builder = builder end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args, &block) ⇒ Object
84 85 86 |
# File 'lib/markaby/rails.rb', line 84 def method_missing(*args, &block) @builder.send *args, &block end |
Instance Method Details
#nil? ⇒ Boolean
see ActionView::Helpers::CaptureHelper#capture
81 82 83 |
# File 'lib/markaby/rails.rb', line 81 def nil? # see ActionView::Helpers::CaptureHelper#capture true end |