Class: Zoom::Profile::Ack

Inherits:
Zoom::Profile show all
Defined in:
lib/zoom/profile/ack.rb

Instance Attribute Summary

Attributes inherited from Zoom::Profile

#pattern, #taggable

Instance Method Summary collapse

Methods inherited from Zoom::Profile

#after, #before, #class_name, #exe, #flags, from_json, #go, #name, #operator, profile_by_name, subclasses, #to_s

Constructor Details

#initialize(n, o = "ack", f = "--smart-case", b = "", a = "") ⇒ Ack

Returns a new instance of Ack.



2
3
4
5
6
7
8
9
10
# File 'lib/zoom/profile/ack.rb', line 2

def initialize(n, o = "ack", f = "--smart-case", b = "", a = "")
    # Special case because of debian
    if ((o == "ack") && ScoobyDoo.where_are_you("ack-grep"))
        o = "ack-grep"
    end

    super(n, o, f, b, a)
    @taggable = true
end