Sha256: 8e3e236bde7abcb625f5146dad58c5c02e790c7916162076ce1f50b5ba9c8469

Contents?: true

Size: 692 Bytes

Versions: 550

Compression:

Stored size: 692 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
    # Public getter for all UI related code
    # rubocop:disable Style/MethodName
    def UI
      UserInterface.new(self)
    end
    # rubocop:enable Style/MethodName

    # 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
  end
end

Version data entries

550 entries across 550 versions & 2 rubygems

Version Path
fastlane-2.32.0.beta.20170518010031 spaceship/lib/spaceship/ui.rb
fastlane-2.31.0 spaceship/lib/spaceship/ui.rb
fastlane-2.31.0.beta.20170517010031 spaceship/lib/spaceship/ui.rb
fastlane-2.31.0.beta.20170516010048 spaceship/lib/spaceship/ui.rb
fastlane-2.31.0.beta.20170515010044 spaceship/lib/spaceship/ui.rb
fastlane-2.31.0.beta.20170514010036 spaceship/lib/spaceship/ui.rb
fastlane-2.31.0.beta.20170513010043 spaceship/lib/spaceship/ui.rb
fastlane-2.30.2 spaceship/lib/spaceship/ui.rb
fastlane-2.31.0.beta.20170512010054 spaceship/lib/spaceship/ui.rb
fastlane-2.30.1 spaceship/lib/spaceship/ui.rb
fastlane-2.30.0 spaceship/lib/spaceship/ui.rb
fastlane-2.29.1 spaceship/lib/spaceship/ui.rb
fastlane-2.30.0.beta.20170511010018 spaceship/lib/spaceship/ui.rb
fastlane-2.30.0.beta.20170510010041 spaceship/lib/spaceship/ui.rb
fastlane-2.29.0 spaceship/lib/spaceship/ui.rb
fastlane-2.29.0.beta.20170509010055 spaceship/lib/spaceship/ui.rb
fastlane-2.29.0.beta.20170508010014 spaceship/lib/spaceship/ui.rb
fastlane-2.29.0.beta.20170507010054 spaceship/lib/spaceship/ui.rb
fastlane-2.29.0.beta.20170506010047 spaceship/lib/spaceship/ui.rb
fastlane-2.28.9 spaceship/lib/spaceship/ui.rb