Exception: RSS::NotSetError
Instance Attribute Summary (collapse)
-
- (Object) name
readonly
Returns the value of attribute name.
-
- (Object) variables
readonly
Returns the value of attribute variables.
Instance Method Summary (collapse)
-
- (NotSetError) initialize(name, variables)
constructor
A new instance of NotSetError.
Constructor Details
- (NotSetError) initialize(name, variables)
A new instance of NotSetError
149 150 151 152 153 |
# File 'lib/rss/rss.rb', line 149 def initialize(name, variables) @name = name @variables = variables super("required variables of #{@name} are not set: #{@variables.join(', ')}") end |
Instance Attribute Details
- (Object) name (readonly)
Returns the value of attribute name
148 149 150 |
# File 'lib/rss/rss.rb', line 148 def name @name end |
- (Object) variables (readonly)
Returns the value of attribute variables
148 149 150 |
# File 'lib/rss/rss.rb', line 148 def variables @variables end |