Class: Dappgen::Machines::DebugMachine

Inherits:
Object
  • Object
show all
Defined in:
lib/dappgen/machines/debug_machine.rb

Instance Method Summary collapse

Instance Method Details

#cleanup(_) ⇒ Object



27
28
29
# File 'lib/dappgen/machines/debug_machine.rb', line 27

def cleanup(_)
  p ['cleanup']
end

#copy_base(arg) ⇒ Object



15
16
17
# File 'lib/dappgen/machines/debug_machine.rb', line 15

def copy_base(arg)
  p ['copy_base', arg]
end

#generate(arg, opts) ⇒ Object



23
24
25
# File 'lib/dappgen/machines/debug_machine.rb', line 23

def generate(arg, opts)
  p ['generate', arg, opts]
end

#remove(arg) ⇒ Object



19
20
21
# File 'lib/dappgen/machines/debug_machine.rb', line 19

def remove(arg)
  p ['remove', arg]
end

#set_thing(thing, opts) ⇒ Object



6
7
8
9
# File 'lib/dappgen/machines/debug_machine.rb', line 6

def set_thing(thing, opts)
  puts "Debugging '#{thing}' generation"
  p ['set_thing', thing, opts]
end

#setdir(arg) ⇒ Object



11
12
13
# File 'lib/dappgen/machines/debug_machine.rb', line 11

def setdir(arg)
  p ['setdir', arg]
end