summaryrefslogtreecommitdiff
path: root/spec/ruby/core/method/public_spec.rb
blob: 4cb23f4cf191f7461d03244af30e15749de4c27c (plain)
1
2
3
4
5
6
7
8
9
require_relative '../../spec_helper'
require_relative 'fixtures/classes'

describe "Method#public?" do
  it "has been removed" do
    obj = MethodSpecs::Methods.new
    obj.method(:my_public_method).should_not.respond_to?(:public?)
  end
end