Class: Markaby::Rails::FauxErbout

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

Overview

:nodoc:

Instance Method Summary collapse

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

Returns:

  • (Boolean)


81
82
83
# File 'lib/markaby/rails.rb', line 81

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