lib/micro/menu.rb in u-menu-0.6.0 vs lib/micro/menu.rb in u-menu-0.8.0
- old
+ new
@@ -1,25 +1,32 @@
# frozen_string_literal: true
require_relative 'menu/configurations'
require_relative 'menu/icons'
+require_relative 'menu/messages'
require_relative 'menu/version'
require 'pastel'
module Micro
module Menu
class Error < StandardError; end
- def self.configurations
- Configurations
- end
+ class << self
+ def configurations
+ Configurations
+ end
- def self.icons
- Icons
- end
+ def icons
+ Icons
+ end
- def self.colors
- @colors ||= Pastel.new
+ def colors
+ @colors ||= Pastel.new
+ end
+
+ def messages
+ Messages
+ end
end
end
end