Class: Gotta::Mod::CLI::Watch

Inherits:
Object
  • Object
show all
Defined in:
lib/gotta/mod/cli/watch.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Watch

Returns a new instance of Watch.



7
8
9
# File 'lib/gotta/mod/cli/watch.rb', line 7

def initialize(options)
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



6
7
8
# File 'lib/gotta/mod/cli/watch.rb', line 6

def options
  @options
end

Instance Method Details

#run!Object



11
12
13
14
# File 'lib/gotta/mod/cli/watch.rb', line 11

def run!
  puts "Watch Received options #{@options}"
  ::Gotta::Mod.now
end