Class: Forkrick::Server::ErbBinder
- Inherits:
-
Object
- Object
- Forkrick::Server::ErbBinder
- Defined in:
- lib/forkrick/server/erb_binder.rb
Instance Attribute Summary collapse
-
#server ⇒ Object
readonly
Returns the value of attribute server.
Instance Method Summary collapse
- #bind ⇒ Object
-
#initialize(server) ⇒ ErbBinder
constructor
A new instance of ErbBinder.
Constructor Details
#initialize(server) ⇒ ErbBinder
Returns a new instance of ErbBinder.
8 9 10 |
# File 'lib/forkrick/server/erb_binder.rb', line 8 def initialize(server) @server = ServerData.new(server) end |
Instance Attribute Details
#server ⇒ Object (readonly)
Returns the value of attribute server.
6 7 8 |
# File 'lib/forkrick/server/erb_binder.rb', line 6 def server @server end |
Instance Method Details
#bind ⇒ Object
12 13 14 |
# File 'lib/forkrick/server/erb_binder.rb', line 12 def bind binding end |