summaryrefslogtreecommitdiff
path: root/spec/ruby/optional/capi/fixtures/kernel.rb
blob: d3fc7c57e8479c9c4e1a85839051b32a05dda26f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class CApiKernelSpecs
  class ClassWithPublicMethod
    def public_method(*, **)
      :public
    end
  end

  class ClassWithPrivateMethod
    private def private_method(*, **)
      :private
    end
  end

  class ClassWithProtectedMethod
    protected def protected_method(*, **)
      :protected
    end
  end
end