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.78.0.beta.20180120010003 spaceship/lib/spaceship/ui.rb
fastlane-2.78.0.beta.20180119010003 spaceship/lib/spaceship/ui.rb
fastlane-2.77.1 spaceship/lib/spaceship/ui.rb
fastlane-2.77.0 spaceship/lib/spaceship/ui.rb
fastlane-2.77.0.beta.20180118010004 spaceship/lib/spaceship/ui.rb
fastlane-2.77.0.beta.20180117010004 spaceship/lib/spaceship/ui.rb
fastlane-2.76.1 spaceship/lib/spaceship/ui.rb
fastlane-2.76.0 spaceship/lib/spaceship/ui.rb
fastlane-2.76.0.beta.20180116010004 spaceship/lib/spaceship/ui.rb
fastlane-2.76.0.beta.20180115010004 spaceship/lib/spaceship/ui.rb
fastlane-2.76.0.beta.20180114010004 spaceship/lib/spaceship/ui.rb
fastlane-2.76.0.beta.20180113010004 spaceship/lib/spaceship/ui.rb
fastlane-2.76.0.beta.20180112010003 spaceship/lib/spaceship/ui.rb
fastlane-2.76.0.beta.20180111010004 spaceship/lib/spaceship/ui.rb
fastlane-2.76.0.beta.20180110010004 spaceship/lib/spaceship/ui.rb
fastlane-2.75.1 spaceship/lib/spaceship/ui.rb
fastlane-2.75.0 spaceship/lib/spaceship/ui.rb
fastlane-2.75.0.beta.20180109010003 spaceship/lib/spaceship/ui.rb