Module: SimpleCaptcha::FormBuilder

Defined in:
lib/simple_captcha/form_builder.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
10
11
# File 'lib/simple_captcha/form_builder.rb', line 3

def self.included(base)
  base.send(:include, SimpleCaptcha::ViewHelper)
  base.send(:include, SimpleCaptcha::FormBuilder::ClassMethods)
  base.send(:include, ActionView::Helpers)
  base.send(:include, Sprockets::Helpers::RailsHelper)
  base.send(:include, Sprockets::Helpers::IsolatedHelper)
  
  base.delegate :render, :session, :to => :template
end