Class: Hookers::Commands::GitSetup

Inherits:
Object
  • Object
show all
Includes:
Hookers::Command
Defined in:
lib/hookers/commands/git_setup.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Hookers::Command

included, #parse_options

Constructor Details

#initialize(command, args) ⇒ GitSetup

Returns a new instance of GitSetup.



12
13
# File 'lib/hookers/commands/git_setup.rb', line 12

def initialize(command, args)
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



8
9
10
# File 'lib/hookers/commands/git_setup.rb', line 8

def options
  @options
end

Instance Method Details

#runObject



15
16
17
# File 'lib/hookers/commands/git_setup.rb', line 15

def run
  puts Hookers::Git.setup
end