Exception: IceStorm::NoSuchTopic

Inherits:
Ice::UserException show all
Defined in:
lib/IceStorm/IceStorm.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_id, #ice_name, #inspect

Constructor Details

#initialize(name = '') ⇒ NoSuchTopic

Returns a new instance of NoSuchTopic.



248
249
250
# File 'lib/IceStorm/IceStorm.rb', line 248

def initialize(name='')
    @name = name
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



256
257
258
# File 'lib/IceStorm/IceStorm.rb', line 256

def name
  @name
end

Instance Method Details

#to_sObject



252
253
254
# File 'lib/IceStorm/IceStorm.rb', line 252

def to_s
    '::IceStorm::NoSuchTopic'
end