Class: ActionView::Template::Types

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

Defined Under Namespace

Classes: Type

Class Method Summary collapse

Class Method Details

.[](type) ⇒ Object



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

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

.delegate_to(klass) ⇒ Object



40
41
42
# File 'lib/action_view/template/types.rb', line 40

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

.symbolsObject



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

def self.symbols
  type_klass::SET.symbols
end