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.1.3 lib/bookends/config/framework.rb
bookends-2.1.2 lib/bookends/config/framework.rb
bookends-2.1.1 lib/bookends/config/framework.rb
bookends-2.0.1 lib/bookends/config/framework.rb
bookends-2.0.0 lib/bookends/config/framework.rb