Class: Raketeer::NokogiriOtherTask

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

Overview

Author:

  • Jonathan Bradley Whited

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



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

Since:

  • 0.1.0



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