Module: XDR::Concerns::StringConverter

Included in:
Opaque, String, VarOpaque
Defined in:
lib/xdr/concerns/string_converter.rb

Instance Method Summary collapse

Instance Method Details

#valid?(val) ⇒ Boolean

Returns:

  • (Boolean)


2
3
4
# File 'lib/xdr/concerns/string_converter.rb', line 2

def valid?(val)
  val.is_a?(String)
end