Class: Rookout::Processor::Paths::Canopy::FunctionOperation

Inherits:
Operation
  • Object
show all
Defined in:
lib/rookout/processor/paths/canopy/markers.rb

Instance Method Summary collapse

Methods inherited from Operation

#write

Constructor Details

#initialize(name, args) ⇒ FunctionOperation

Returns a new instance of FunctionOperation.



27
28
29
30
31
# File 'lib/rookout/processor/paths/canopy/markers.rb', line 27

def initialize name, args
  super()
  @name = name
  @args = args
end

Instance Method Details

#read(namespace, _create) ⇒ Object



33
34
35
# File 'lib/rookout/processor/paths/canopy/markers.rb', line 33

def read namespace, _create
  namespace.call_method @name, @args
end