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



48
49
50
# File 'actionview/lib/action_view/template/types.rb', line 48

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

.delegate_to(klass) ⇒ Object



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

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

.symbolsObject



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

def self.symbols
  type_klass::SET.symbols
end