Class: MockNoyesServer::Session
- Inherits:
-
Object
- Object
- MockNoyesServer::Session
- Defined in:
- lib/common/mock_noyes_server.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#file ⇒ Object
Returns the value of attribute file.
-
#magic ⇒ Object
Returns the value of attribute magic.
Instance Method Summary collapse
-
#initialize(file) ⇒ Session
constructor
A new instance of Session.
Constructor Details
#initialize(file) ⇒ Session
Returns a new instance of Session.
10 11 12 13 14 |
# File 'lib/common/mock_noyes_server.rb', line 10 def initialize file @file = file @data = '' @magic = false end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
7 8 9 |
# File 'lib/common/mock_noyes_server.rb', line 7 def data @data end |
#file ⇒ Object
Returns the value of attribute file.
6 7 8 |
# File 'lib/common/mock_noyes_server.rb', line 6 def file @file end |
#magic ⇒ Object
Returns the value of attribute magic.
8 9 10 |
# File 'lib/common/mock_noyes_server.rb', line 8 def magic @magic end |