Sha256: 66ae4d901f75759165d8e43ae9185748ec8ddeb0862a9e36bee4ea92e8b4419d

Contents?: true

Size: 799 Bytes

Versions: 144

Compression:

Stored size: 799 Bytes

Contents

module FastlaneCore
  class UI
    class << self
      def current
        @current ||= Shell.new
      end
    end

    def self.method_missing(method_sym, *args, &_block)
      # not using `responds` beacuse we don't care about methods like .to_s and so on
      interface_methods = Interface.instance_methods - Object.instance_methods
      UI.user_error!("Unknown method '#{method_sym}', supported #{interface_methods}") unless interface_methods.include?(method_sym)

      self.current.send(method_sym, *args)
    end
  end
end

require 'fastlane_core/ui/interface'

# Import all available implementations
Dir[File.expand_path('implementations/*.rb', File.dirname(__FILE__))].each do |file|
  require file
end

require 'fastlane_core/ui/disable_colors' if FastlaneCore::Helper.colors_disabled?

Version data entries

144 entries across 144 versions & 2 rubygems

Version Path
fastlane-2.27.0.beta.20170407010056 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.26.0 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.26.0.beta.20170406010019 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.26.0.beta.20170405010026 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.26.0.beta.20170404010022 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.25.0 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.25.0.beta.20170403010018 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.25.0.beta.20170402010035 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.25.0.beta.20170401010021 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.25.0.beta.20170331010039 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.25.0.beta.20170330225747 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.24.0 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.24.0.beta.20170330010023 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.24.0.beta.20170329010023 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.24.0.beta.20170328010037 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.24.0.beta.20170327010009 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.24.0.beta.20170326010023 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.24.0.beta.20170325010032 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.23.0 fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane-2.23.0.beta.20170322010036 fastlane_core/lib/fastlane_core/ui/ui.rb