Class: Hotspots

Inherits:
Object
  • Object
show all
Defined in:
lib/hotspots.rb,
lib/hotspots/exit.rb,
lib/hotspots/store.rb,
lib/hotspots/version.rb,
lib/hotspots/configuration.rb,
lib/hotspots/options_parser.rb,
lib/hotspots/repository/git.rb,
lib/hotspots/repository/git_driver.rb,
lib/hotspots/repository/git_parser.rb,
lib/hotspots/repository/git_command.rb

Defined Under Namespace

Modules: Exit, Repository Classes: Configuration, OptionsParser, Store

Constant Summary collapse

VERSION =
"1.2.0"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configuration) ⇒ Hotspots

Returns a new instance of Hotspots.



11
12
13
# File 'lib/hotspots.rb', line 11

def initialize(configuration)
  @configuration = configuration
end

Instance Attribute Details

#configurationObject (readonly)

Returns the value of attribute configuration.



9
10
11
# File 'lib/hotspots.rb', line 9

def configuration
  @configuration
end

Instance Method Details

#outputObject



15
16
17
18
19
20
# File 'lib/hotspots.rb', line 15

def output
  validate
  inside_repository do
    run
  end
end