Class: Stitches::Configuration::UnsetString

Inherits:
Object
  • Object
show all
Defined in:
lib/stitches/configuration.rb

Instance Method Summary collapse

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_sObject 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