Sha256: dbc364aebdd8f640e727a7064630eac13076d102bd5962786f0bf36de9d9d5db

Contents?: true

Size: 693 Bytes

Versions: 538

Compression:

Stored size: 693 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 Style/MethodName
    def UI
      UserInterface.new(self)
    end
    # rubocop:enable Style/MethodName
  end
end

Version data entries

538 entries across 538 versions & 2 rubygems

Version Path
fastlane-2.90.0.beta.20180403050108 spaceship/lib/spaceship/ui.rb
fastlane-2.89.0 spaceship/lib/spaceship/ui.rb
fastlane-2.89.0.beta.20180402050042 spaceship/lib/spaceship/ui.rb
fastlane-2.89.0.beta.20180401050120 spaceship/lib/spaceship/ui.rb
fastlane-2.89.0.beta.20180331050023 spaceship/lib/spaceship/ui.rb
fastlane-2.89.0.beta.20180330050046 spaceship/lib/spaceship/ui.rb
fastlane-2.89.0.beta.20180329050050 spaceship/lib/spaceship/ui.rb
fastlane-2.89.0.beta.20180328050040 spaceship/lib/spaceship/ui.rb
fastlane-2.88.0 spaceship/lib/spaceship/ui.rb
fastlane-2.88.0.beta.20180327050037 spaceship/lib/spaceship/ui.rb
fastlane-2.88.0.beta.20180325050025 spaceship/lib/spaceship/ui.rb
fastlane-2.88.0.beta.20180324050059 spaceship/lib/spaceship/ui.rb
fastlane-2.87.0 spaceship/lib/spaceship/ui.rb
fastlane-2.87.0.beta.20180323050014 spaceship/lib/spaceship/ui.rb
fastlane-2.87.0.beta.20180322050115 spaceship/lib/spaceship/ui.rb
fastlane-2.86.2 spaceship/lib/spaceship/ui.rb
fastlane-2.87.0.beta.20180321050017 spaceship/lib/spaceship/ui.rb
fastlane-2.86.1 spaceship/lib/spaceship/ui.rb
fastlane-2.87.0.beta.20180320050108 spaceship/lib/spaceship/ui.rb
fastlane-2.86.0 spaceship/lib/spaceship/ui.rb