Sha256: 4635266368369ccec142462a2c8ded818a70e2ba0a258c328f6b7aa1640e5a6a
Contents?: true
Size: 438 Bytes
Versions: 3
Compression:
Stored size: 438 Bytes
Contents
# encoding: utf-8 require 'tty/version' require 'tty/plugins' require 'tty/plugins/plugin' module TTY class << self def included(base) base.send :extend, ClassMethods end end module ClassMethods # Return shared plugins instance # # @return [TTY::Plugins] # # @api public def plugins @plugins ||= Plugins.new end end extend ClassMethods end # TTY TTY.plugins.find('tty').load
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tty-0.7.0 | lib/tty.rb |
tty-0.6.1 | lib/tty.rb |
tty-0.6.0 | lib/tty.rb |