Sha256: 512c15b8a01ec3d65085f8470a6952f3f3c4ff6bbe89a1ebbe90c940869f9e66

Contents?: true

Size: 425 Bytes

Versions: 15

Compression:

Stored size: 425 Bytes

Contents

# -*- encoding: utf-8 -*-

module WatchTower
  class Project
    module AnyBased

      def self.included(base)
        base.send :include, InstanceMethods
        base.extend ClassMethods
      end

      module InstanceMethods
        attr_reader :name, :path
      end

      module ClassMethods
        protected
          def expand_path(path)
            File.expand_path(path)
          end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
watch_tower-0.0.3 lib/watch_tower/project/any_based.rb
watch_tower-0.0.2 lib/watch_tower/project/any_based.rb
watch_tower-0.0.1 lib/watch_tower/project/any_based.rb
watch_tower-0.0.1.beta12 lib/watch_tower/project/any_based.rb
watch_tower-0.0.1.beta11 lib/watch_tower/project/any_based.rb
watch_tower-0.0.1.beta10 lib/watch_tower/project/any_based.rb
watch_tower-0.0.1.beta9 lib/watch_tower/project/any_based.rb
watch_tower-0.0.1.beta8 lib/watch_tower/project/any_based.rb
watch_tower-0.0.1.beta7 lib/watch_tower/project/any_based.rb
watch_tower-0.0.1.beta6 lib/watch_tower/project/any_based.rb
watch_tower-0.0.1.beta5 lib/watch_tower/project/any_based.rb
watch_tower-0.0.1.beta4 lib/watch_tower/project/any_based.rb
watch_tower-0.0.1.beta3 lib/watch_tower/project/any_based.rb
watch_tower-0.0.1.beta2 lib/watch_tower/project/any_based.rb
watch_tower-0.0.1.beta1 lib/watch_tower/project/any_based.rb