<commit_before>require "abstract_controller"

module TextMessage

	# = TextMessage controller base class
	# This class acts as a controller, similar to +ActionMailer::Controller+ subclasses.
	# To use it:
	#
	#  - implement action methods as in a "usual" controller
	#
	#   class TextMessageTest < TextMessage::Controller
	#
	#     # Will render app/views/sms_test/toto.(...), passing it the instance variables
	#     def toto
	#       @tutu = 4
	#     end
	#
	#   end
	class Controller < AbstractController::Base

		# Load tons of AbstractController plugins
		include AbstractController::Rendering
		include AbstractController::Logger
		include AbstractController::Helpers
		include AbstractController::Callbacks
<commit_msg>Improve docs<commit_after>require "abstract_controller"

module TextMessage

	# = TextMessage controller base class
	# This class acts as a controller, similar to +ActionMailer::Controller+ subclasses.
  #
	# To use it implement action methods as in a mailer:
	#
	#   class TextMessageTest < TextMessage::Controller
	#
	#     # Will render app/views/sms_test/toto.(...), passing it the instance variables
	#     def toto
	#       @tutu = 4
	#     end
	#
	#   end
	class Controller < AbstractController::Base

		# Load tons of AbstractController plugins
		include AbstractController::Rendering
		include AbstractController::Logger
		include AbstractController::Helpers
		include AbstractController::Callbacks

{'fraction_non_alphanumeric': 0.07810320781032078, 'fraction_numerical': 0.001394700139470014, 'mean_word_length': 4.070671378091872, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4423422', 'n_tokens_mistral': 411, 'n_tokens_neox': 395, 'n_words': 124}