class Pantograph::Actions::ImportAction

Public Class Methods

authors() click to toggle source
# File pantograph/lib/pantograph/actions/import.rb, line 30
def self.authors
  ['KrauseFx']
end
available_options() click to toggle source
# File pantograph/lib/pantograph/actions/import.rb, line 23
def self.available_options
end
category() click to toggle source
# File pantograph/lib/pantograph/actions/import.rb, line 44
def self.category
  :misc
end
description() click to toggle source

@!group Documentation

# File pantograph/lib/pantograph/actions/import.rb, line 12
def self.description
  'Import another Pantfile to use its lanes'
end
details() click to toggle source
# 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() click to toggle source
# File pantograph/lib/pantograph/actions/import.rb, line 38
def self.example_code
  [
    'import("./path/to/other/Pantfile")'
  ]
end
is_supported?(platform) click to toggle source
# File pantograph/lib/pantograph/actions/import.rb, line 34
def self.is_supported?(platform)
  true
end
output() click to toggle source
# File pantograph/lib/pantograph/actions/import.rb, line 26
def self.output
  []
end
run(params) click to toggle source
# File pantograph/lib/pantograph/actions/import.rb, line 4
def self.run(params)
  # this is implemented in the pant_file.rb
end