Class: ActionView::Template::Types::Type
Relationships & Source Files | |
Inherits: | Object |
Defined in: | actionview/lib/action_view/template/types.rb |
Class Attribute Summary
- .types (also: #types) rw
Class Method Summary
- .[](type)
- .new(symbol) ⇒ Type constructor
- .register(*t)
Instance Attribute Summary
Instance Method Summary
Constructor Details
.new(symbol) ⇒ Type
Class Attribute Details
.types (rw) Also known as: #types
[ GitHub ]# File 'actionview/lib/action_view/template/types.rb', line 8
cattr_accessor :types
Class Method Details
.[](type)
[ GitHub ].register(*t)
[ GitHub ]Instance Attribute Details
#symbol (readonly)
[ GitHub ]# File 'actionview/lib/action_view/template/types.rb', line 25
attr_reader :symbol
#types (rw)
[ GitHub ]# File 'actionview/lib/action_view/template/types.rb', line 8
cattr_accessor :types
Instance Method Details
#==(type)
[ GitHub ]#ref
[ GitHub ]#to_s Also known as: #to_str
[ GitHub ]#to_str
Alias for #to_s.
# File 'actionview/lib/action_view/template/types.rb', line 32
alias to_str to_s