Class: IRuby::SessionAdapter::TestAdapter::DummySocket

Inherits:
Struct
  • Object
show all
Defined in:
lib/iruby/session_adapter/test_adapter.rb

Instance Attribute Summary collapse

Instance Attribute Details

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



8
9
10
# File 'lib/iruby/session_adapter/test_adapter.rb', line 8

def host
  @host
end

#portObject

Returns the value of attribute port

Returns:

  • (Object)

    the current value of port



8
9
10
# File 'lib/iruby/session_adapter/test_adapter.rb', line 8

def port
  @port
end

#protocolObject

Returns the value of attribute protocol

Returns:

  • (Object)

    the current value of protocol



8
9
10
# File 'lib/iruby/session_adapter/test_adapter.rb', line 8

def protocol
  @protocol
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



8
9
10
# File 'lib/iruby/session_adapter/test_adapter.rb', line 8

def type
  @type
end