I have created modules to add some extra functions to the existing libraries, which include both ruby built-in library and third party library (like String, Hash, ActiveModel and Nokogiri).
such as
# extension for ExistingClass
module SomeExtension
def extra_method
...
end
end
ExistingClass.send(:include, SomeExtension::extra_method)
Where is the best location to put them in?