Sha256: 4be99fd7a94ee64144ef9d7132c425f4eeb652bc5de544ee54112e4c9f4b2b1f

Contents?: true

Size: 760 Bytes

Versions: 8

Compression:

Stored size: 760 Bytes

Contents

module YARD::CodeObjects::Cucumber
  
  class NamespaceObject < YARD::CodeObjects::NamespaceObject
    include LocationHelper
    def value ; nil ; end
  end

  class Requirements < NamespaceObject ; end
  class FeatureTags < NamespaceObject ; end
  class StepTransformersObject < NamespaceObject ; end

  class FeatureDirectory < YARD::CodeObjects::NamespaceObject
    
    def location
      files.first.first if files && !files.empty?
    end

    def value ; name ; end
  end

  CUCUMBER_NAMESPACE = Requirements.new(:root, "requirements")
  
  CUCUMBER_TAG_NAMESPACE = FeatureTags.new(CUCUMBER_NAMESPACE, "tags")
  
  CUCUMBER_STEPTRANSFORM_NAMESPACE = StepTransformersObject.new(CUCUMBER_NAMESPACE, "step_transformers")
  
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cucumber-in-the-yard-1.7.5 lib/yard/code_objects/cucumber/namespace_object.rb
cucumber-in-the-yard-1.7.4 lib/yard/code_objects/cucumber/namespace_object.rb
cucumber-in-the-yard-1.7.3 lib/yard/code_objects/cucumber/namespace_object.rb
cucumber-in-the-yard-1.7.2 lib/yard/code_objects/cucumber/namespace_object.rb
cucumber-in-the-yard-1.7.1 lib/yard/code_objects/cucumber/namespace_object.rb
cucumber-in-the-yard-1.7.0 lib/yard/code_objects/cucumber/namespace_object.rb
cucumber-in-the-yard-1.6.4 lib/yard/code_objects/cucumber/namespace_object.rb
cucumber-in-the-yard-1.6.3 lib/yard/code_objects/cucumber/namespace_object.rb