<commit_before>module Minecraft
	module JSONAPI
		class Namespace
			def initialize(parent, namespace)
				@parent = parent
				@namespace = namespace
			end

			def namespace
				[parent.namespace, @namespace].reject {|x| x.nil? }.join(".")
			end

			def method_missing(method, *args)
				method = [namespace, method.to_s].join(".")
				url = parent.make_url(method, args)

				Minecraft::JSONAPI.send_request(url)
			end

			# This will bubble upwards until we hit the actual JSONAPI class
			def make_url(*args)
				parent.make_url(*args)
			end
		end
	end
end<commit_msg>Code cleanup<commit_after>module Minecraft
	module JSONAPI
		class Namespace
			def initialize(parent, namespace)
				@parent = parent
				@namespace = namespace
			end

			def method_missing(method, *args)
				method = [@namespace, method.to_s].join(".")
				url = @parent.make_url(method, args)

				puts "Method: %s" % method
				puts "URL: %s" % url

				Minecraft::JSONAPI.send_request(url)
			end

			# This will bubble upwards until we hit the actual JSONAPI class
			def make_url(*args)
				@parent.make_url(*args)
			end
		end
	end
end
{'fraction_non_alphanumeric': 0.10446428571428572, 'fraction_numerical': 0.0, 'mean_word_length': 3.328185328185328, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6940544', 'n_tokens_mistral': 451, 'n_tokens_neox': 358, 'n_words': 102}