Class: Seahorse::StringType

Inherits:
Type
  • Object
show all
Defined in:
lib/seahorse/type.rb

Instance Attribute Summary

Attributes inherited from Type

#as, #documentation, #header, #location, #model, #name, #required, #uri

Instance Method Summary collapse

Methods inherited from Type

#add, #complex?, #default_type, #initialize, inspect, #inspect, #pull_value, #to_hash, #to_output, #to_strong_params, #type, type, type=

Constructor Details

This class inherits a constructor from Seahorse::Type

Instance Method Details

#from_input(data, filter = true) ⇒ Object



99
# File 'lib/seahorse/type.rb', line 99

def from_input(data, filter = true) data.to_s end