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.129.0.beta.20190730200040 spaceship/lib/spaceship/ui.rb
fastlane-2.129.0.beta.20190729200106 spaceship/lib/spaceship/ui.rb
fastlane-2.129.0.beta.20190728200052 spaceship/lib/spaceship/ui.rb
fastlane-2.129.0.beta.20190727200032 spaceship/lib/spaceship/ui.rb
fastlane-2.129.0.beta.20190726200041 spaceship/lib/spaceship/ui.rb
fastlane-2.128.1 spaceship/lib/spaceship/ui.rb
fastlane-2.129.0.beta.20190725200033 spaceship/lib/spaceship/ui.rb
fastlane-2.129.0.beta.20190723200012 spaceship/lib/spaceship/ui.rb
fastlane-2.128.0 spaceship/lib/spaceship/ui.rb
fastlane-2.128.0.beta.20190722200021 spaceship/lib/spaceship/ui.rb
fastlane-2.128.0.beta.20190721200024 spaceship/lib/spaceship/ui.rb
fastlane-2.128.0.beta.20190720200049 spaceship/lib/spaceship/ui.rb
fastlane_iac_publish-0.1.5 spaceship/lib/spaceship/ui.rb
fastlane-2.127.2 spaceship/lib/spaceship/ui.rb
fastlane-2.128.0.beta.20190719200019 spaceship/lib/spaceship/ui.rb
fastlane-2.128.0.beta.20190718200101 spaceship/lib/spaceship/ui.rb
fastlane-2.128.0.beta.20190717200026 spaceship/lib/spaceship/ui.rb
fastlane-2.128.0.beta.20190716200022 spaceship/lib/spaceship/ui.rb
fastlane-2.128.0.beta.20190715200056 spaceship/lib/spaceship/ui.rb
fastlane-2.128.0.beta.20190714200028 spaceship/lib/spaceship/ui.rb