summaryrefslogtreecommitdiff
path: root/spec/ruby/core/module/fixtures/autoload_ex1.rb
blob: a90092389cf7d51762c6ed6ca3dbbb24a928d30f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

class ModuleSpecs::Autoload::EX1 < Exception
  def self.trample1
    1.times { return }
  end

  def self.trample2
    begin
      raise "hello"
    rescue
    end
  end

  trample1
  trample2
end