Class: Connect::Method::Unary

Inherits:
Type
  • Object
show all
Defined in:
lib/connect/method.rb

Instance Attribute Summary

Attributes inherited from Type

#klass

Instance Method Summary collapse

Methods inherited from Type

#==, #decode, #encode, #initialize, #inspect, #stream?

Constructor Details

This class inherits a constructor from Connect::Method::Type

Instance Method Details

#unary?Boolean

Returns:

  • (Boolean)


38
39
40
# File 'lib/connect/method.rb', line 38

def unary?
  true
end