method

new

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: HTML
new(string, type = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/template/html.rb, line 7
      def initialize(string, type = nil)
        @string = string.to_s
        @type   = Types[type] || type if type
        @type ||= Types[:html]
      end
Register or log in to add new notes.