Module: ActionText
Overview
:markup: markdown
Class Method Summary
-
.gem_version
Returns the currently loaded version of Action Text as a
Gem::Version
. - .html_document_class
- .html_document_fragment_class
-
.version
Returns the currently loaded version of Action Text as a
Gem::Version
.
::ActiveSupport::Autoload
- Extended
Class Method Details
.gem_version
Returns the currently loaded version of Action Text as a Gem::Version
.
.html_document_class
[ GitHub ]# File 'actiontext/lib/action_text.rb', line 47
def html_document_class return @html_document_class if defined?(@html_document_class) @html_document_class = defined?(Nokogiri::HTML5) ? Nokogiri::HTML5::Document : Nokogiri::HTML4::Document end
.html_document_fragment_class
[ GitHub ]# File 'actiontext/lib/action_text.rb', line 53
def html_document_fragment_class return @html_document_fragment_class if defined?(@html_document_fragment_class) @html_document_fragment_class = defined?(Nokogiri::HTML5) ? Nokogiri::HTML5::DocumentFragment : Nokogiri::HTML4::DocumentFragment end
.version
Returns the currently loaded version of Action Text as a Gem::Version
.
# File 'actiontext/lib/action_text/version.rb', line 9
def self.version gem_version end