Class | Consular::Core |
In: |
lib/consular/core.rb
|
Parent: | Object |
termfile | [RW] |
Captures the current terminal settings for the system. It will return a hash format like that of Consular::DSL so that Consular can write it back out into a Termfile.
@return [Hash] Consular style hash.
@api public
Instantiated the hash from the Termfile into the core.
@param [String] path
Path to Termfile
@api public
Checks to see if the current system/terminal is the right one to use for this core. This is called by the CLI to check if a particular core should be used.
@return [Boolean] Whether the current system is valid.
@api public