Module: RubyFiglet
- Defined in:
- lib/ruby_figlet.rb,
lib/ruby_figlet/parser.rb,
lib/ruby_figlet/interface.rb
Overview
Main namespace for all RubyFIGlet classes and methods.
Defined Under Namespace
Constant Summary collapse
- VERSIONS =
{ :major => 0, :minor => 6, :tiny => 1 }.freeze
- WD =
File.dirname(__FILE__)
Class Method Summary collapse
Class Method Details
.version(*args) ⇒ Object
7 8 9 |
# File 'lib/ruby_figlet.rb', line 7 def self.version *args VERSIONS.flatten.select.with_index { |_, i| i.odd? }.join '.' end |