Sha256: 59653b245d8999a8c19e17214c6c1ddf01b20e7c79188c429740c96a0618d68d

Contents?: true

Size: 214 Bytes

Versions: 2

Compression:

Stored size: 214 Bytes

Contents

module IrbHacks
  # Exception class used by IrbHacks::break.
  class BreakException < Exception
    attr_accessor :value

    def initialize(attrs = {})
      attrs.each {|k, v| send("#{k}=", v)}
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
irb_hacks-0.2.5 lib/irb_hacks/break_exception.rb
irb_hacks-0.2.4 lib/irb_hacks/break_exception.rb