Exception: Composer::ComposerException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/composer/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = "") ⇒ ComposerException

Returns a new instance of ComposerException.



5
6
7
# File 'lib/composer/exceptions.rb', line 5

def initialize(message="")
  @message = message
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



3
4
5
# File 'lib/composer/exceptions.rb', line 3

def message
  @message
end