class U3dCore::UI
Attributes
current[W]
Public Class Methods
current()
click to toggle source
# File lib/u3d_core/ui/ui.rb, line 27 def current @current ||= Shell.new end
method_missing(method_sym, *args, &_block)
click to toggle source
rubocop:disable Style/MethodMissing
# File lib/u3d_core/ui/ui.rb, line 35 def self.method_missing(method_sym, *args, &_block) # not using `responds` because 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) current.send(method_sym, *args) end