Exception: IceStorm::LinkExists

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 = '') ⇒ LinkExists

Returns a new instance of LinkExists.



78
79
80
# File 'lib/IceStorm/IceStorm.rb', line 78

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

Instance Attribute Details

#nameObject

Returns the value of attribute name.



86
87
88
# File 'lib/IceStorm/IceStorm.rb', line 86

def name
  @name
end

Instance Method Details

#to_sObject



82
83
84
# File 'lib/IceStorm/IceStorm.rb', line 82

def to_s
    '::IceStorm::LinkExists'
end