Sha256: b2d3daed1f7f4ceff73cea1e6c575e8a6e5465839704ac21007c2e08d0b0f1c4

Contents?: true

Size: 330 Bytes

Versions: 25

Compression:

Stored size: 330 Bytes

Contents

module Bookends
  module Config
    class Framework

      attr_accessor :framework

      def set(framework)
        self.framework = framework
      end

      def get
        framework
      end

      def rails?
        framework == :rails
      end

      def jekyll?
        framework == :jekyll
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
bookends-2.8.0 lib/bookends/config/framework.rb
bookends-2.7.0 lib/bookends/config/framework.rb
bookends-2.6.0 lib/bookends/config/framework.rb
bookends-2.5.2 lib/bookends/config/framework.rb
bookends-2.5.1 lib/bookends/config/framework.rb
bookends-2.5.0 lib/bookends/config/framework.rb
bookends-2.4.4 lib/bookends/config/framework.rb
bookends-2.4.3 lib/bookends/config/framework.rb
bookends-2.4.2 lib/bookends/config/framework.rb
bookends-2.4.1 lib/bookends/config/framework.rb
bookends-2.4.0 lib/bookends/config/framework.rb
bookends-2.3.7 lib/bookends/config/framework.rb
bookends-2.3.6 lib/bookends/config/framework.rb
bookends-2.3.5 lib/bookends/config/framework.rb
bookends-2.3.4 lib/bookends/config/framework.rb
bookends-2.3.3 lib/bookends/config/framework.rb
bookends-2.3.1 lib/bookends/config/framework.rb
bookends-2.3.0 lib/bookends/config/framework.rb
bookends-2.2.1 lib/bookends/config/framework.rb
bookends-2.2.0 lib/bookends/config/framework.rb