Sha256: 31338424c320c3d3f6a19347fb67b111f32c0b38889d6422573d18ce65b97a75

Contents?: true

Size: 695 Bytes

Versions: 118

Compression:

Stored size: 695 Bytes

Contents

paths = Dir[File.expand_path("**/ui/*.rb", File.dirname(__FILE__))]
raise "Could not find UI classes to import" unless paths.count > 0
paths.each do |file|
  require file
end

module Spaceship
  class Client
    # All User Interface related code lives in this class
    class UserInterface
      # Access the client this UserInterface object is for
      attr_reader :client

      # Is called by the client to generate one instance of UserInterface
      def initialize(c)
        @client = c
      end
    end

    # Public getter for all UI related code
    # rubocop:disable Naming/MethodName
    def UI
      UserInterface.new(self)
    end
    # rubocop:enable Naming/MethodName
  end
end

Version data entries

118 entries across 118 versions & 4 rubygems

Version Path
fastlane-2.212.1 spaceship/lib/spaceship/ui.rb
fastlane-2.212.0 spaceship/lib/spaceship/ui.rb
fastlane-2.211.0 spaceship/lib/spaceship/ui.rb
fastlane-2.210.1 spaceship/lib/spaceship/ui.rb
fastlane-2.210.0 spaceship/lib/spaceship/ui.rb
fastlane-2.209.1 spaceship/lib/spaceship/ui.rb
fastlane-2.209.0 spaceship/lib/spaceship/ui.rb
fastlane-2.208.0 spaceship/lib/spaceship/ui.rb
fastlane-2.207.0 spaceship/lib/spaceship/ui.rb
fastlane-2.206.2 spaceship/lib/spaceship/ui.rb
fastlane-2.206.1 spaceship/lib/spaceship/ui.rb
fastlane-2.206.0 spaceship/lib/spaceship/ui.rb
fastlane-2.205.2 spaceship/lib/spaceship/ui.rb
fastlane-2.205.1 spaceship/lib/spaceship/ui.rb
fastlane-2.205.0 spaceship/lib/spaceship/ui.rb
fastlane-2.204.3 spaceship/lib/spaceship/ui.rb
fastlane-2.204.2 spaceship/lib/spaceship/ui.rb
fastlane-2.204.1 spaceship/lib/spaceship/ui.rb
fastlane-2.204.0 spaceship/lib/spaceship/ui.rb
fastlane-2.203.0 spaceship/lib/spaceship/ui.rb