123456789_123456789_123456789_123456789_123456789_

Class: ActionView::Template::Types

Relationships & Source Files
Namespace Children
Classes:
Inherits: Object
Defined in: actionview/lib/action_view/template/types.rb

Class Attribute Summary

Class Method Summary

Instance Attribute Summary

Class Attribute Details

.type_klass (rw) Also known as: #type_klass

[ GitHub ]

  
# File 'actionview/lib/action_view/template/types.rb', line 44

cattr_accessor :type_klass

Class Method Details

.[](type)

[ GitHub ]

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

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

.delegate_to(klass)

[ GitHub ]

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

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

Instance Attribute Details

#type_klass (rw)

[ GitHub ]

  
# File 'actionview/lib/action_view/template/types.rb', line 44

cattr_accessor :type_klass