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.225.0 spaceship/lib/spaceship/ui.rb
fastlane-2.224.0 spaceship/lib/spaceship/ui.rb
fastlane-2.223.1 spaceship/lib/spaceship/ui.rb
fastlane-2.223.0 spaceship/lib/spaceship/ui.rb
fastlane-2.222.0 spaceship/lib/spaceship/ui.rb
fastlane-2.221.1 spaceship/lib/spaceship/ui.rb
fastlane-2.221.0 spaceship/lib/spaceship/ui.rb
fastlane-2.220.0 spaceship/lib/spaceship/ui.rb
fastlane-2.219.0 spaceship/lib/spaceship/ui.rb
fastlane-2.218.0 spaceship/lib/spaceship/ui.rb
fastlane-security-patched-2.216.0 spaceship/lib/spaceship/ui.rb
fastlane-2.217.0 spaceship/lib/spaceship/ui.rb
fastlane-2.216.0 spaceship/lib/spaceship/ui.rb
fastlane-2.215.1 spaceship/lib/spaceship/ui.rb
fastlane-2.215.0 spaceship/lib/spaceship/ui.rb
fastlane-mercafacil-2.214.0 spaceship/lib/spaceship/ui.rb
fastlane-2.214.0 spaceship/lib/spaceship/ui.rb
fastlane-2.213.0 spaceship/lib/spaceship/ui.rb
fastlane-2.212.2 spaceship/lib/spaceship/ui.rb
fastlane_pricing_fix-2.212.1 spaceship/lib/spaceship/ui.rb