Sha256: da7028f8a3a8ca85bbadd6fe7db99baf298b3c7db965e86ab8775b3361f8bb7a
Contents?: true
Size: 485 Bytes
Versions: 4
Compression:
Stored size: 485 Bytes
Contents
# encoding: utf-8 require 'rake' require 'rake/tasklib' module Inch module Rake class Suggest < ::Rake::TaskLib attr_accessor :name attr_accessor :args def initialize(name = "inch", *args, &block) @name = name @args = args block.call(self) if block desc "Suggest objects to add documention to" task(@name) { suggest } end def suggest CLI::Command::Suggest.run(*@args) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
inch-0.1.3 | lib/inch/rake/suggest.rb |
inch-0.1.2 | lib/inch/rake/suggest.rb |
inch-0.1.1 | lib/inch/rake/suggest.rb |
inch-0.1.0 | lib/inch/rake/suggest.rb |