Exception: Gettc::InvalidVariableName
- Inherits:
-
SignatureError
- Object
- StandardError
- SignatureError
- Gettc::InvalidVariableName
- Defined in:
- lib/gettc/signature.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, message = "Invalid variable name") ⇒ InvalidVariableName
constructor
A new instance of InvalidVariableName.
Constructor Details
#initialize(name, message = "Invalid variable name") ⇒ InvalidVariableName
Returns a new instance of InvalidVariableName.
19 20 21 22 |
# File 'lib/gettc/signature.rb', line 19 def initialize(name, = "Invalid variable name") @name = name super "#{} (#{name})" end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
17 18 19 |
# File 'lib/gettc/signature.rb', line 17 def name @name end |