Class: OpsWalrus::ImportInvocationContext
- Inherits:
-
Object
- Object
- OpsWalrus::ImportInvocationContext
show all
- Defined in:
- lib/opswalrus/invocation.rb
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, **kwargs, &block) ⇒ Object
15
16
17
|
# File 'lib/opswalrus/invocation.rb', line 15
def method_missing(name, *args, **kwargs, &block)
raise "Not implemented in base class"
end
|
Instance Method Details
#_bang_method?(name) ⇒ Boolean
19
20
21
|
# File 'lib/opswalrus/invocation.rb', line 19
def _bang_method?(name)
name.to_s.end_with?("!")
end
|
#_invoke(*args, **kwargs) ⇒ Object
7
8
9
|
# File 'lib/opswalrus/invocation.rb', line 7
def _invoke(*args, **kwargs)
raise "Not implemented in base class"
end
|
#_invoke_if_namespace_has_ops_file_of_same_name(*args, **kwargs, &block) ⇒ Object
11
12
13
|
# File 'lib/opswalrus/invocation.rb', line 11
def _invoke_if_namespace_has_ops_file_of_same_name(*args, **kwargs, &block)
raise "Not implemented in base class"
end
|
#_non_bang_method(name) ⇒ Object
23
24
25
|
# File 'lib/opswalrus/invocation.rb', line 23
def _non_bang_method(name)
name.to_s.sub(/!$/, '')
end
|