Class: Mactag::Ctags
- Inherits:
-
Object
- Object
- Mactag::Ctags
- Defined in:
- lib/mactag/ctags.rb
Overview
Wrapper around Ctags command.
Instance Attribute Summary collapse
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize(input, output) ⇒ Ctags
constructor
A new instance of Ctags.
Constructor Details
#initialize(input, output) ⇒ Ctags
Returns a new instance of Ctags.
9 10 11 12 |
# File 'lib/mactag/ctags.rb', line 9 def initialize(input, output) @input = Array(input) @output = output end |
Instance Attribute Details
#input ⇒ Object (readonly)
Returns the value of attribute input.
7 8 9 |
# File 'lib/mactag/ctags.rb', line 7 def input @input end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
7 8 9 |
# File 'lib/mactag/ctags.rb', line 7 def output @output end |
Instance Method Details
#create ⇒ Object
14 15 16 |
# File 'lib/mactag/ctags.rb', line 14 def create system(command) end |