Class: Htmless::Rails::AbstractBuilder

Inherits:
Object
  • Object
show all
Extended by:
Helper
Defined in:
lib/htmless/rails.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods included from Helper

builder

Constructor Details

- (AbstractBuilder) initialize(controller)

A new instance of AbstractBuilder



11
12
13
# File 'lib/htmless/rails.rb', line 11

def initialize(controller)
  @controller = controller
end

Instance Attribute Details

- (Object) controller (readonly)

Returns the value of attribute controller



9
10
11
# File 'lib/htmless/rails.rb', line 9

def controller
  @controller
end