Sha256: 8186f10bf4d358b5a92755da806341a1584e0a6b46bbce3410d64409ff7514b0

Contents?: true

Size: 1.49 KB

Versions: 52

Compression:

Stored size: 1.49 KB

Contents

module KernelSpecs
  module MethodMissing
    def self.method_missing(*args) :method_missing end
    def self.method_missing(*args) :method_missing end
    def self.existing() :existing end

    def self.private_method() :private_method end
    private_class_method :private_method
  end

  class MethodMissingC
    def self.method_missing(*args) :method_missing end
    def method_missing(*args) :instance_method_missing end

    def self.existing() :existing end
    def existing() :instance_existing end

    def self.private_method() :private_method end
    def self.protected_method() :protected_method end
    class << self
      private :private_method
      protected :protected_method
    end

    def private_method() :private_instance_method end
    private :private_method

    def protected_method() :protected_instance_method end
    protected :protected_method
  end

  module NoMethodMissing
    def self.existing() :existing end

    def self.private_method() :private_method end
    private_class_method :private_method
  end

  class NoMethodMissingC
    def self.existing() :existing end
    def existing() :instance_existing end

    def self.private_method() :private_method end
    def self.protected_method() :protected_method end
    class << self
      private :private_method
      protected :protected_method
    end

    def private_method() :private_instance_method end
    private :private_method

    def protected_method() :protected_instance_method end
    protected :protected_method
  end
end

Version data entries

52 entries across 52 versions & 2 rubygems

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