class FastlaneCore::UI
Public Class Methods
current()
click to toggle source
# File lib/fastlane_core/ui/ui.rb, line 4 def current @current ||= Shell.new end
method_missing(method_sym, *args, &_block)
click to toggle source
# File lib/fastlane_core/ui/ui.rb, line 9 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