Module: Activecube::ViewConnection
- Included in:
- View
- Defined in:
- lib/activecube/view_connection.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
Instance Method Summary collapse
Instance Attribute Details
#connection ⇒ Object (readonly)
Returns the value of attribute connection.
5 6 7 |
# File 'lib/activecube/view_connection.rb', line 5 def connection @connection end |
Instance Method Details
#connect_to(connection) ⇒ Object
7 8 9 |
# File 'lib/activecube/view_connection.rb', line 7 def connect_to connection @connection = connection end |