Class: Stitches::Configuration::UnsetString
- Inherits:
-
Object
- Object
- Stitches::Configuration::UnsetString
- Defined in:
- lib/stitches/configuration.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ UnsetString
constructor
A new instance of UnsetString.
- #to_s ⇒ Object (also: #to_str)
Constructor Details
#initialize(name) ⇒ UnsetString
Returns a new instance of UnsetString.
116 117 118 |
# File 'lib/stitches/configuration.rb', line 116 def initialize(name) @name = name end |
Instance Method Details
#to_s ⇒ Object Also known as: to_str
120 121 122 |
# File 'lib/stitches/configuration.rb', line 120 def to_s raise "You must set a value for #{@name} " end |