Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

postmodern/yard-bond

Repository files navigation

yard-bond

Description

Provides a rake task for generating Bond.complete rules from YARD documentation. The rake task ensures the generated Bond completion rules are regenerated when the YARD documentation is updated.

Features

  • Generates completions for method options.

Examples

Rakefile

Defines a rake file task for lib/bond/completions/mylibrary.rb:

require 'yard/bond/task'
YARD::Bond::Task.new('mylibrary')

mylibrary.gemspec

Ensure the completion file is included in the gem:

spec.files << 'lib/bond/completions/mylibrary.rb'

Requirements

Install

$ gem install yard-bond

Copyright

Copyright (c) 2014 Hal Brodigan

See {file:LICENSE.txt} for details.

About

Generates Bond.complete rules from YARD documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages