Class: ActionView::Template::Types

Inherits:
Object
  • Object
show all
Defined in:
actionview/lib/action_view/template/types.rb

Defined Under Namespace

Classes: Type

Class Method Summary collapse

Class Method Details

.[](type) ⇒ Object



52
53
54
# File 'actionview/lib/action_view/template/types.rb', line 52

def self.[](type)
  type_klass[type]
end

.delegate_to(klass) ⇒ Object



46
47
48
# File 'actionview/lib/action_view/template/types.rb', line 46

def self.delegate_to(klass)
  self.type_klass = klass
end