Class: Pantograph::Actions::ImportAction
Constant Summary
Pantograph::Action::AVAILABLE_CATEGORIES, Pantograph::Action::RETURN_TYPES
Class Method Summary
collapse
action_name, author, deprecated_notes, lane_context, method_missing, other_action, return_type, return_value, sample_return_value, shell_out_should_use_bundle_exec?, step_text
Class Method Details
.authors ⇒ Object
30
31
32
|
# File 'pantograph/lib/pantograph/actions/import.rb', line 30
def self.authors
['KrauseFx']
end
|
.available_options ⇒ Object
23
24
|
# File 'pantograph/lib/pantograph/actions/import.rb', line 23
def self.available_options
end
|
.category ⇒ Object
44
45
46
|
# File 'pantograph/lib/pantograph/actions/import.rb', line 44
def self.category
:misc
end
|
.description ⇒ Object
12
13
14
|
# File 'pantograph/lib/pantograph/actions/import.rb', line 12
def self.description
'Import another Pantfile to use its lanes'
end
|
.details ⇒ Object
16
17
18
19
20
21
|
# File 'pantograph/lib/pantograph/actions/import.rb', line 16
def self.details
[
'This is useful when sharing the same lanes across multiple projects',
'The path must be relative to the Pantfile this is called from.'
].join("\n")
end
|
.example_code ⇒ Object
38
39
40
41
42
|
# File 'pantograph/lib/pantograph/actions/import.rb', line 38
def self.example_code
[
'import("./path/to/other/Pantfile")'
]
end
|
.is_supported?(platform) ⇒ Boolean
34
35
36
|
# File 'pantograph/lib/pantograph/actions/import.rb', line 34
def self.is_supported?(platform)
true
end
|
.output ⇒ Object
26
27
28
|
# File 'pantograph/lib/pantograph/actions/import.rb', line 26
def self.output
[]
end
|
.run(params) ⇒ Object
4
5
6
|
# File 'pantograph/lib/pantograph/actions/import.rb', line 4
def self.run(params)
end
|