Module: ObviousData::CommandRecorderMethods

Defined in:
lib/obvious_data/command_recorder_methods.rb

Overview

At present no obvious_data helpers are auto-invertible. We can’t just drop a function executed via #execute_function_file cause that helper is also used to update existing functions. Might address that later.

Instance Method Summary collapse

Instance Method Details

#drop_function(*args) ⇒ Object



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

def drop_function(*args)
  record(:drop_function, args)
end

#drop_trigger(*args) ⇒ Object



25
26
27
# File 'lib/obvious_data/command_recorder_methods.rb', line 25

def drop_trigger(*args)
  record(:drop_trigger, args)
end

#drop_view(*args) ⇒ Object



17
18
19
# File 'lib/obvious_data/command_recorder_methods.rb', line 17

def drop_view(*args)
  record(:drop_view, args)
end

#execute_function_file(*args) ⇒ Object



5
6
7
# File 'lib/obvious_data/command_recorder_methods.rb', line 5

def execute_function_file(*args)
  record(:execute_function_files, args)
end

#execute_trigger_file(*args) ⇒ Object



21
22
23
# File 'lib/obvious_data/command_recorder_methods.rb', line 21

def execute_trigger_file(*args)
  record(:execute_trigger_file, args)
end

#execute_view_file(*args) ⇒ Object



13
14
15
# File 'lib/obvious_data/command_recorder_methods.rb', line 13

def execute_view_file(*args)
  record(:execute_view_file, args)
end