Module: Mimic::Controls::Invocation
- Defined in:
- lib/mimic/controls/invocation.rb
Class Method Summary collapse
Class Method Details
.example ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/mimic/controls/invocation.rb', line 4 def self.example parameters = {} parameters[:some_parameter] = 1 parameters[:some_other_parameter] = 11 invocation = ::Invocation.new(method_name, parameters) invocation end |
.method_name ⇒ Object
24 25 26 |
# File 'lib/mimic/controls/invocation.rb', line 24 def self.method_name :some_method end |
.other_example ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'lib/mimic/controls/invocation.rb', line 14 def self.other_example parameters = {} parameters[:some_parameter] = 111 parameters[:some_other_parameter] = 1111 invocation = ::Invocation.new(other_method_name, parameters) invocation end |
.other_method_name ⇒ Object
28 29 30 |
# File 'lib/mimic/controls/invocation.rb', line 28 def self.other_method_name :some_other_method end |