>>>>> "W" == Wes Gamble <weyus / att.net> writes:

W> module ESimplyUtil

 [...]

W>   private
W>   def ESimplyUtil.add_default_path(url)

 Be carefull, ruby will not do what you think

moulon% cat b.rb
#!/usr/bin/ruby
module A
   private
   def self.a
   end

   class << self
      private
      def b
      end
   end
end

["a", "b"].each do |m|
   puts "#{m}() private ? #{A.private_methods.include?(m)}"
   puts "#{m}() public ? #{A.public_methods.include?(m)}"
end

moulon% 

moulon% ./b.rb
a() private ? false
a() public ? true
b() private ? true
b() public ? false
moulon% 


Guy Decoux