Class: Markaby::Rails::FauxErbout

Inherits:
Builder::BlankSlate
  • Object
show all
Defined in:
lib/markaby/rails/deprecated.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(builder) ⇒ FauxErbout

Returns a new instance of FauxErbout.



105
106
107
# File 'lib/markaby/rails/deprecated.rb', line 105

def initialize(builder)
  @builder = builder
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*args, &block) ⇒ Object



111
112
113
# File 'lib/markaby/rails/deprecated.rb', line 111

def method_missing(*args, &block)
  @builder.send *args, &block
end

Instance Method Details

#nil?Boolean

see ActionView::Helpers::CaptureHelper#capture

Returns:

  • (Boolean)


108
109
110
# File 'lib/markaby/rails/deprecated.rb', line 108

def nil? # see ActionView::Helpers::CaptureHelper#capture
  true
end