Class: Sequel::ConnectionGuard::Dataset Private
- Inherits:
-
Object
- Object
- Sequel::ConnectionGuard::Dataset
- Defined in:
- lib/sequel/extensions/connection_guard/dataset.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
A value object that stores all the information required to construct a Sequel dataset.
Instance Attribute Summary collapse
- #connection_guard ⇒ Object readonly private
- #table_name ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(connection_guard, table_name) ⇒ Dataset
constructor
private
A new instance of Dataset.
Constructor Details
#initialize(connection_guard, table_name) ⇒ Dataset
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Dataset.
19 20 21 22 |
# File 'lib/sequel/extensions/connection_guard/dataset.rb', line 19 def initialize(connection_guard, table_name) @connection_guard = connection_guard @table_name = table_name end |
Instance Attribute Details
#connection_guard ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
12 13 14 |
# File 'lib/sequel/extensions/connection_guard/dataset.rb', line 12 def connection_guard @connection_guard end |
#table_name ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
12 13 14 |
# File 'lib/sequel/extensions/connection_guard/dataset.rb', line 12 def table_name @table_name end |