Sha256: 77c3dfc0cb67f3131009a13021b2b8443d2eeaff118fa18bea64013839b02be1

Contents?: true

Size: 235 Bytes

Versions: 35

Compression:

Stored size: 235 Bytes

Contents

module RakeLeiningen
  module Mixins
    module Directoried
      def in_directory(directory, &block)
        if directory
          Dir.chdir(directory, &block)
        else
          block.call
        end
      end
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
rake_leiningen-0.33.0.pre.2 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.33.0.pre.1 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.32.0 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.31.0.pre.4 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.31.0.pre.3 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.31.0.pre.2 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.31.0.pre.1 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.30.0 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.29.0.pre.1 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.28.0 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.27.0.pre.1 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.26.0 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.25.0.pre.1 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.24.0 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.23.0.pre.2 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.23.0.pre.1 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.22.0 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.21.0.pre.2 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.21.0.pre.1 lib/rake_leiningen/mixins/directoried.rb
rake_leiningen-0.20.0 lib/rake_leiningen/mixins/directoried.rb