lib/spaceship/ui.rb in spaceship-0.4.0 vs lib/spaceship/ui.rb in spaceship-0.5.0

- old
+ new

@@ -5,23 +5,23 @@ end module Spaceship class Client # Public getter for all UI related code + # rubocop:disable Style/MethodName def UI UserInterface.new(self) end + # rubocop:enable Style/MethodName # 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 - - # Access the client this UserInterface object is for - def client - @client end end end end