Class: YARD::Handlers::Ruby::PlaceholderHandler
- Inherits:
-
Base
- Object
- Base
- YARD::Handlers::Ruby::PlaceholderHandler
- Defined in:
- lib/yard/handlers/placeholder_handler.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.generate_unique_id ⇒ Object
25 26 27 |
# File 'lib/yard/handlers/placeholder_handler.rb', line 25 def self.generate_unique_id @placeholder_count = @placeholder_count.to_i + 1 end |
Instance Method Details
#placeholder_name ⇒ Object
21 22 23 |
# File 'lib/yard/handlers/placeholder_handler.rb', line 21 def placeholder_name "placeholder#{self.class.generate_unique_id}" end |
#step_transform_namespace ⇒ Object
17 18 19 |
# File 'lib/yard/handlers/placeholder_handler.rb', line 17 def step_transform_namespace YARD::CodeObjects::Cucumber::CUCUMBER_STEPTRANSFORM_NAMESPACE end |