module ANSI
ANSI
namespace module contains all the ANSI
related classes.
Constants
- CHART
-
Table
of codes used throughout the system. - SPECIAL_CHART
Public Class Methods
Source
# File lib/ansi/version.rb, line 11 def self.const_missing(name) metadata[name.to_s.downcase] || super(name) end
Check metadata for missing constants.
Calls superclass method
Source
# File lib/ansi/version.rb, line 3 def self.metadata @spec ||= ( require 'yaml' YAML.load(File.new(File.dirname(__FILE__) + '/../ansi.yml')) ) end
Returns Hash table of project metadata.
Source
# File lib/ansi/string.rb, line 5 def ANSI.string(str) ANSI::String.new(str) end
Create a new Ansi::String object.