Class: GameIcons::OptionalDeps

Inherits:
Object
  • Object
show all
Defined in:
lib/game_icons/optional_deps.rb

Class Method Summary collapse

Class Method Details

.require_nokogiriObject



4
5
6
7
8
9
10
# File 'lib/game_icons/optional_deps.rb', line 4

def require_nokogiri
  begin
    require 'nokogiri'
  rescue
    raise "Nokogiri is required for this feature. Please install using 'gem install nokogiri'"
  end
end