module Itsf::Backend::Features

Public Instance Methods

features?(name) click to toggle source
# File lib/itsf/backend/features.rb, line 8
def features?(name)
  # Gem::Specification.find_all_by_name(name.to_s).any? && Itsf::Backend::Configuration.enabled_features.include?(name)
  Itsf::Backend::Configuration.enabled_features.include?(name)
end
gem_available?(name) click to toggle source
# File lib/itsf/backend/features.rb, line 4
def gem_available?(name)
  Gem::Specification.find_all_by_name(name.to_s).any?
end