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.
94 95 96 97 98 99 100 |
# File 'lib/raketeer/nokogiri_install_tasks.rb', line 94 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
102 103 104 105 |
# File 'lib/raketeer/nokogiri_install_tasks.rb', line 102 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 |