Module: Ahnnotate::Command

Included in:
Function::Main, Function::Niam
Defined in:
lib/ahnnotate/command.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(other) ⇒ Object



3
4
5
6
7
# File 'lib/ahnnotate/command.rb', line 3

def self.included(other)
  other.class_eval do
    attr_writer :vfs
  end
end

Instance Method Details

#initialize(root, options, config) ⇒ Object



9
10
11
12
13
# File 'lib/ahnnotate/command.rb', line 9

def initialize(root, options, config)
  @root = root
  @options = options
  @config = config
end

#vfsObject



15
16
17
# File 'lib/ahnnotate/command.rb', line 15

def vfs
  @vfs ||= Vfs.new(vfs_driver)
end