Sha256: d0f9c76c35f9917278815913c0d52bb7907eb46673c78c5c49cb4c102726125b

Contents?: true

Size: 542 Bytes

Versions: 252

Compression:

Stored size: 542 Bytes

Contents

##
## $Release: 2.7.0 $
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
##

module Kernel

  ##
  ## raise NotImplementedError
  ##
  def not_implemented     #:doc:
    backtrace = caller()
    method_name = (backtrace.shift =~ /`(\w+)'$/) && $1
    mesg = "class #{self.class.name} must implement abstract method '#{method_name}()'."
    #mesg = "#{self.class.name}##{method_name}() is not implemented."
    err = NotImplementedError.new mesg
    err.set_backtrace backtrace
    raise err
  end
  private :not_implemented

end

Version data entries

252 entries across 212 versions & 42 rubygems

Version Path
brakeman-4.0.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb
vagrant-unbundled-2.0.0.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/lib/erubis/util.rb
vagrant-unbundled-1.9.8.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/lib/erubis/util.rb
brakeman-3.7.2 bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb
brakeman-3.7.1 bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb
vagrant-unbundled-1.9.7.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/lib/erubis/util.rb
brakeman-3.7.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/lib/erubis/util.rb
brakeman-3.6.2 bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/erubis-2.7.0/lib/erubis/util.rb
brakeman-3.6.1 bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb
brakeman-3.6.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb
brakeman-3.5.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb
autocompl-0.2.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb
autocompl-0.2.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb
autocompl-0.2.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb
autocompl-0.1.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb
autocompl-0.1.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb
autocompl-0.1.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb
autocompl-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb