Sha256: 28b03b1a70fe6670c0ad76e541b79f5fb99bfa9ae972923ed5175fb946aa13b8

Contents?: true

Size: 146 Bytes

Versions: 156

Compression:

Stored size: 146 Bytes

Contents

class BaseException < StandardError
  def initialize(message = nil)
    @message = message
  end

  def message
    @message || 'Hello!'
  end
end

Version data entries

156 entries across 156 versions & 1 rubygems

Version Path
cm-admin-1.5.10 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.5.27 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.5.26 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.5.25 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.5.23 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.5.22 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.5.21 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.5.20 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.5.11 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.5.9 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.5.8 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.5.7 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.5.6 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.5.1 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.5.0 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.4.9 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.4.8 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.4.7 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.4.6 lib/generators/cm_admin/templates/exceptions/base_exception.rb
cm-admin-1.4.5 lib/generators/cm_admin/templates/exceptions/base_exception.rb