Class: ActionView::Template::Types
Relationships & Source Files | |
Namespace Children | |
Classes:
| |
Inherits: | Object |
Defined in: | actionview/lib/action_view/template/types.rb |
Class Attribute Summary
- .type_klass (also: #type_klass) rw
Class Method Summary
Instance Attribute Summary
- #type_klass rw
Class Attribute Details
.type_klass (rw) Also known as: #type_klass
[ GitHub ]# File 'actionview/lib/action_view/template/types.rb', line 40
cattr_accessor :type_klass
Class Method Details
.[](type)
[ GitHub ]# File 'actionview/lib/action_view/template/types.rb', line 48
def self.[](type) type_klass[type] end
.delegate_to(klass)
[ GitHub ]# File 'actionview/lib/action_view/template/types.rb', line 42
def self.delegate_to(klass) self.type_klass = klass end
.symbols
[ GitHub ]# File 'actionview/lib/action_view/template/types.rb', line 52
def self.symbols type_klass::SET.symbols end
Instance Attribute Details
#type_klass (rw)
[ GitHub ]# File 'actionview/lib/action_view/template/types.rb', line 40
cattr_accessor :type_klass