Sha256: 5dbaa3b36d719077f07b1fd683901afe3ae851a2b6007db48ebf6c19bef5d0c8

Contents?: true

Size: 507 Bytes

Versions: 11

Compression:

Stored size: 507 Bytes

Contents

module YARD
  module Server
    module Commands
      
      class ListFeaturesCommand < ListCommand
        def type; :features end
        
        def items
          Registry.load_all
          run_verifier(Registry.all(:feature))
        end
      end
      
      class ListTagsCommand < ListCommand
        def type; :tags end
        
        def items
          Registry.load_all
          run_verifier(Registry.all(:tag).sort_by {|t| t.value.to_s })
        end
      end
      
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
yard-cucumber-2.0.0 lib/yard/server/commands/list_command.rb
cucumber-in-the-yard-1.7.8 lib/yard/server/commands/list_command.rb
cucumber-in-the-yard-1.7.7 lib/yard/server/commands/list_command.rb
cucumber-in-the-yard-1.7.6 lib/yard/server/commands/list_command.rb
cucumber-in-the-yard-1.7.5 lib/yard/server/commands/list_command.rb
cucumber-in-the-yard-1.7.4 lib/yard/server/commands/list_command.rb
cucumber-in-the-yard-1.7.3 lib/yard/server/commands/list_command.rb
cucumber-in-the-yard-1.7.2 lib/yard/server/commands/list_command.rb
cucumber-in-the-yard-1.7.1 lib/yard/server/commands/list_command.rb
cucumber-in-the-yard-1.7.0 lib/yard/server/commands/list_command.rb
cucumber-in-the-yard-1.6.4 lib/yard/server/commands/list_command.rb