Class: DataMapper::SQLFinders::Query::DefaultDirection
- Inherits:
-
Direction
- Object
- Direction
- DataMapper::SQLFinders::Query::DefaultDirection
- Extended by:
- Forwardable
- Defined in:
- lib/data_mapper/sql_finders/query.rb
Instance Method Summary collapse
- #dup ⇒ Object
-
#initialize(delegate) ⇒ DefaultDirection
constructor
A new instance of DefaultDirection.
Constructor Details
#initialize(delegate) ⇒ DefaultDirection
Returns a new instance of DefaultDirection.
35 36 37 |
# File 'lib/data_mapper/sql_finders/query.rb', line 35 def initialize(delegate) @delegate = delegate end |
Instance Method Details
#dup ⇒ Object
39 40 41 |
# File 'lib/data_mapper/sql_finders/query.rb', line 39 def dup self.class.new(@delegate.dup) end |