Class: TreeContext::Alternator Private
- Inherits:
-
Object
- Object
- TreeContext::Alternator
- Defined in:
- lib/yard/to_mkdocs/default/fulldoc/html/setup.rb
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.
Instance Method Summary collapse
-
#initialize(first, second) ⇒ Alternator
constructor
private
A new instance of Alternator.
- #next ⇒ Object private
Constructor Details
#initialize(first, second) ⇒ Alternator
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 Alternator.
168 169 170 171 |
# File 'lib/yard/to_mkdocs/default/fulldoc/html/setup.rb', line 168 def initialize(first, second) @next = first @after = second end |
Instance Method Details
#next ⇒ Object
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.
173 174 175 176 |
# File 'lib/yard/to_mkdocs/default/fulldoc/html/setup.rb', line 173 def next @next, @after = @after, @next @after end |