Class: Raketeer::NokogiriOtherTask

Inherits:
NokogiriInstallTask show all
Defined in:
lib/raketeer/nokogiri_install_tasks.rb

Overview

Since:

  • 0.1.0

Instance Attribute Summary

Attributes inherited from NokogiriInstallTask

#description, #install_cmd, #name

Instance Method Summary collapse

Methods inherited from NokogiriInstallTask

#define

Constructor Details

#initialize(name = :nokogiri_other, &block) ⇒ NokogiriOtherTask

Returns a new instance of NokogiriOtherTask.

Since:

  • 0.1.0



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

Since:

  • 0.1.0



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