Class: Raketeer::NokogiriOtherTask
- Inherits:
-
NokogiriInstallTask
- Object
- Rake::TaskLib
- NokogiriInstallTask
- Raketeer::NokogiriOtherTask
- Defined in:
- lib/raketeer/nokogiri_install_tasks.rb
Overview
Instance Attribute Summary
Attributes inherited from NokogiriInstallTask
#description, #install_cmd, #name
Instance Method Summary collapse
-
#initialize(name = :nokogiri_other, &block) ⇒ NokogiriOtherTask
constructor
A new instance of NokogiriOtherTask.
- #run(_task, _args) ⇒ Object
Methods inherited from NokogiriInstallTask
Constructor Details
#initialize(name = :nokogiri_other, &block) ⇒ NokogiriOtherTask
Returns a new instance of NokogiriOtherTask.
80 81 82 83 84 85 86 |
# File 'lib/raketeer/nokogiri_install_tasks.rb', line 80 def initialize(name = :nokogiri_other,&block) super(name) @description = 'Install Nokogiri libs for other OSes' define(&block) end |
Instance Method Details
#run(_task, _args) ⇒ Object
88 89 90 91 |
# File 'lib/raketeer/nokogiri_install_tasks.rb', line 88 def run(_task,_args) puts 'Please go to this link for installing Nokogiri on your system:' puts ' https://nokogiri.org/tutorials/installing_nokogiri.html' end |