Sha256: a27727eeb67ae0621d1d16806e5f4de644915b43d4cc226a57c2abe82cd85fe8

Contents?: true

Size: 672 Bytes

Versions: 52

Compression:

Stored size: 672 Bytes

Contents

module Private
  class A
    def foo
      "foo"
    end

    private
    def bar
      "bar"
    end
  end

  class B
    def foo
      "foo"
    end

    private
    class C
      def baz
        "baz"
      end
    end

    class << self
      def public_class_method1; 1; end
      private
      def private_class_method1; 1; end
    end
    def self.public_class_method2; 2; end

    def bar
      "bar"
    end
  end

  module D
    private
    def foo
      "foo"
    end
  end

   class E
     include D
   end

   class F
     def foo
       "foo"
     end
   end

   class G
     def foo
       "foo"
     end
   end

   class H < A
     private :foo
   end
end

Version data entries

52 entries across 52 versions & 2 rubygems

Version Path
rhodes-7.6.0 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-7.5.1 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-7.4.1 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-7.1.17 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-6.2.0 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-6.0.11 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-5.5.18 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-5.5.17 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-5.5.15 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-5.5.0.22 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-5.5.2 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-5.5.0.7 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-5.5.0.3 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-5.5.0 spec/framework_spec/app/spec/language/fixtures/private.rb
tauplatform-1.0.3 spec/framework_spec/app/spec/language/fixtures/private.rb
tauplatform-1.0.2 spec/framework_spec/app/spec/language/fixtures/private.rb
tauplatform-1.0.1 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-3.5.1.12 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-3.3.5 spec/framework_spec/app/spec/language/fixtures/private.rb
rhodes-3.4.2 spec/framework_spec/app/spec/language/fixtures/private.rb