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-3.5.1.12 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.5 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.4.2 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.4 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.3 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.3.beta.4 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.3.beta.3 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.3.beta.2 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.3.beta.1 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.2 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.2.beta.7 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.2.beta.6 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.2.beta.5 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.2.beta.4 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.2.beta.3 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.2.beta.2 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.2.beta.1 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.1 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.0 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb
rhodes-3.3.0.beta.3 spec/framework_spec/app/spec/core/kernel/fixtures/__method__.rb