Module: Masamune::Actions::DataFlow

Extended by:
ActiveSupport::Concern
Includes:
DateParse
Included in:
Tasks::ShellThor
Defined in:
lib/masamune/actions/data_flow.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Methods included from DateParse

#parse_datetime_type

Class Method Details

.reset_module!Object



53
54
55
# File 'lib/masamune/actions/data_flow.rb', line 53

def reset_module!
  ClassMethods.reset_module!
end

Instance Method Details

#engineObject



33
34
35
# File 'lib/masamune/actions/data_flow.rb', line 33

def engine
  self.class.engine
end

#sourceObject



49
50
51
# File 'lib/masamune/actions/data_flow.rb', line 49

def source
  sources.first
end

#sourcesObject



41
42
43
# File 'lib/masamune/actions/data_flow.rb', line 41

def sources
  engine.sources(current_command_name)
end

#targetObject



45
46
47
# File 'lib/masamune/actions/data_flow.rb', line 45

def target
  targets.first
end

#targetsObject



37
38
39
# File 'lib/masamune/actions/data_flow.rb', line 37

def targets
  engine.targets(current_command_name)
end