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.



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

Returns:

  • (Boolean)


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

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