Exception: Momblish::EmptyCorpusError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/momblish.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ EmptyCorpusError

Returns a new instance of EmptyCorpusError.



28
29
30
# File 'lib/momblish.rb', line 28

def initialize(message)
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



26
27
28
# File 'lib/momblish.rb', line 26

def message
  @message
end