Sha256: 1dc4da8c943a28618d5548fbe0105f07ef825d5b57bb2340331942961b18590d

Contents?: true

Size: 1.25 KB

Versions: 7

Compression:

Stored size: 1.25 KB

Contents

module Pantograph
  module Actions
    class LaneContextAction < Action
      def self.run(params)
        Actions.lane_context
      end

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        "Access lane context values"
      end

      def self.details
        [
          "Access the pantograph lane context values.",
          "More information about how the lane context works: [https://johnknapprs.github.io/pantograph/advanced/#lane-context](https://johnknapprs.github.io/pantograph/advanced/#lane-context)."
        ].join("\n")
      end

      def self.available_options
        []
      end

      def self.output
        []
      end

      def self.return_type
        :hash
      end

      def self.authors
        ["KrauseFx"]
      end

      def self.is_supported?(platform)
        true
      end

      # We don't want to show this as step
      def self.step_text
        nil
      end

      def self.example_code
        [
          'lane_context[SharedValues::BUILD_NUMBER]',
          'lane_context[SharedValues::IPA_OUTPUT_PATH]'
        ]
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pantograph-0.1.14 pantograph/lib/pantograph/actions/lane_context.rb
pantograph-0.1.13 pantograph/lib/pantograph/actions/lane_context.rb
pantograph-0.1.12 pantograph/lib/pantograph/actions/lane_context.rb
pantograph-0.1.10 pantograph/lib/pantograph/actions/lane_context.rb
pantograph-0.1.8 pantograph/lib/pantograph/actions/lane_context.rb
pantograph-0.1.7 pantograph/lib/pantograph/actions/lane_context.rb
pantograph-0.1.6 pantograph/lib/pantograph/actions/lane_context.rb