Sha256: 11ebb927ea861c6a33c671334c9656d19f1f3e09564e6b58c68537d401c50c35

Contents?: true

Size: 342 Bytes

Versions: 55

Compression:

Stored size: 342 Bytes

Contents

module KernelSpecs
  class MethodTest
    def f
      __method__
    end

    alias_method :g, :f

    def in_block
      (1..2).map { __method__ }
    end

    define_method(:dm) do
      __method__
    end

    define_method(:dm_block) do
      (1..2).map { __method__ }
    end

    def from_eval
      eval "__method__"
    end
  end
end

Version data entries

55 entries across 55 versions & 3 rubygems

Version Path
rhodes-7.6.0 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-7.5.1 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-7.4.1 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-7.1.17 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-6.2.0 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-6.0.11 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-5.5.18 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-5.5.17 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-5.5.15 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-5.5.0.22 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-5.5.2 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-5.5.0.7 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-5.5.0.3 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-5.5.0 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
tauplatform-1.0.3 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
tauplatform-1.0.2 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
tauplatform-1.0.1 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
empathy-0.1.0 rubyspec/core/kernel/fixtures/__method__.rb
empathy-0.0.1.RC2 rubyspec/core/kernel/fixtures/__method__.rb
empathy-0.0.1.RC0 rubyspec/core/kernel/fixtures/__method__.rb