Class: GDK::ConfigType::Path
Instance Attribute Summary
Attributes inherited from Base
#builder, #parent, #user_value, #value
Instance Method Summary collapse
Methods inherited from Base
#default_value, #initialize, #root, #slug, #user_defined?, #validate!
Constructor Details
This class inherits a constructor from GDK::ConfigType::Base
Instance Method Details
#dump! ⇒ Object
8 9 10 |
# File 'lib/gdk/config_type/path.rb', line 8 def dump!(*) value.to_s end |
#parse(value) ⇒ Object
12 13 14 |
# File 'lib/gdk/config_type/path.rb', line 12 def parse(value) Pathname.new(value) end |