ANSI namespace module contains all the ANSI related classes.
Table of codes used throughout the system.
@see en.wikipedia.org/wiki/ANSI_escape_code
Check metadata for missing constants.
# File lib/ansi/version.rb, line 11 def self.const_missing(name) metadata[name.to_s.downcase] || super(name) end
Returns Hash table of project metadata.
# File lib/ansi/version.rb, line 3 def self.metadata @spec ||= ( require 'yaml' YAML.load(File.new(File.dirname(__FILE__) + '/../ansi.yml')) ) end
Create a new Ansi::String object.
# File lib/ansi/string.rb, line 5 def ANSI.string(str) ANSI::String.new(str) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.