Class: GDK::ConfigType::String
- Defined in:
- lib/gdk/config_type/string.rb
Instance Attribute Summary
Attributes inherited from Base
#builder, #parent, #user_value, #value
Instance Method Summary collapse
Methods inherited from Base
#default_value, #dump!, #initialize, #root, #slug, #user_defined?, #validate!
Constructor Details
This class inherits a constructor from GDK::ConfigType::Base
Instance Method Details
#parse(value) ⇒ Object
6 7 8 9 10 |
# File 'lib/gdk/config_type/string.rb', line 6 def parse(value) raise ::TypeError if value.nil? value.to_s end |