Module: AMS::Lib
- Defined in:
- RubyExtension/ams_Lib.rb,
RubyExtension/ams_Lib/main.rb
Overview
Lib contains functions for manipulating files within the library's folder.
Constant Summary
- NAME =
'AMS Library'.freeze
- VERSION =
'3.5.0'.freeze
- RELEASE_DATE =
'July 9, 2017'.freeze
- PATH =
path.freeze
- BASE =
base.freeze
Class Attribute Summary collapse
-
.extension ⇒ SketchupExtension
readonly
Get AMS Library extension.
Class Method Summary collapse
-
.load(filename) ⇒ Boolean
Load a specific file.
-
.load_all ⇒ Fixnum
Load all Ruby files within the extension's path.
-
.require(filename) ⇒ Boolean
Require a specific file.
-
.require_all ⇒ Fixnum
Require all Ruby files within the extension's path.
Class Attribute Details
.extension ⇒ SketchupExtension (readonly)
Get AMS Library extension.
Class Method Details
.load(filename) ⇒ Boolean
Note:
The file will be reloaded if it was already loaded.
Load a specific file.
.load_all ⇒ Fixnum
Note:
All already loaded files will be reloaded.
Load all Ruby files within the extension's path.
.require(filename) ⇒ Boolean
Note:
The file will not be loaded if it was already loaded.
Require a specific file.
.require_all ⇒ Fixnum
Note:
All already loaded files will be ignored.
Require all Ruby files within the extension's path.