Class: Mahoujin::Atoms::Exception

Inherits:
Object
  • Object
show all
Defined in:
lib/mahoujin/atoms/exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(content) ⇒ Exception

Returns a new instance of Exception


6
7
8
# File 'lib/mahoujin/atoms/exception.rb', line 6

def initialize(content)
  @content = content.freeze
end

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content


4
5
6
# File 'lib/mahoujin/atoms/exception.rb', line 4

def content
  @content
end