123456789_123456789_123456789_123456789_123456789_

Exception: RSS::NotSetError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Error, StandardError
Instance Chain:
self, Error, StandardError
Inherits: RSS::Error
  • Object
Defined in: lib/rss/rss.rb

Overview

Raised when a required variable is not set.

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(name, variables) ⇒ NotSetError

[ GitHub ]

  
# File 'lib/rss/rss.rb', line 186

def initialize(name, variables)
  @name = name
  @variables = variables
  super("required variables of #{@name} are not set: #{@variables.join(', ')}")
end

Instance Attribute Details

#name (readonly)

[ GitHub ]

  
# File 'lib/rss/rss.rb', line 185

attr_reader :name, :variables

#variables (readonly)

[ GitHub ]

  
# File 'lib/rss/rss.rb', line 185

attr_reader :name, :variables