Exception: Voodoo::CodeGenerator::SymbolsExportedAfterUseError
Overview
Error raised when a symbol is exported after it has been used.
Instance Attribute Summary collapse
-
#symbols ⇒ Object
readonly
Returns the value of attribute symbols.
Instance Method Summary collapse
-
#initialize(symbols) ⇒ SymbolsExportedAfterUseError
constructor
A new instance of SymbolsExportedAfterUseError.
Constructor Details
#initialize(symbols) ⇒ SymbolsExportedAfterUseError
Returns a new instance of SymbolsExportedAfterUseError.
75 76 77 78 79 |
# File 'lib/voodoo/code_generator.rb', line 75 def initialize symbols @symbols = symbols super("Symbols exported after they have been used: " + symbols.to_a.join(" ")) end |
Instance Attribute Details
#symbols ⇒ Object (readonly)
Returns the value of attribute symbols.
81 82 83 |
# File 'lib/voodoo/code_generator.rb', line 81 def symbols @symbols end |