Module: Boson::Library::API
- Included in:
- Boson::Library
- Defined in:
- lib/boson/library.rb
Instance Method Summary collapse
-
#before_initialize ⇒ Object
Method hook called at the beginning of initialize.
-
#config ⇒ Hash
Attributes used internally by a library.
-
#local? ⇒ Boolean
Determines if library is local i.e.
-
#namespace_object ⇒ Object
The object a library uses for executing its commands.
Instance Method Details
#before_initialize ⇒ Object
Method hook called at the beginning of initialize
74 75 |
# File 'lib/boson/library.rb', line 74 def before_initialize end |
#config ⇒ Hash
Returns Attributes used internally by a library. Defaults to using Boson.config but can be overridden to be library-specific.
84 85 86 |
# File 'lib/boson/library.rb', line 84 def config Boson.config end |
#local? ⇒ Boolean
Determines if library is local i.e. scoped to current directory/project
78 79 80 |
# File 'lib/boson/library.rb', line 78 def local? false end |
#namespace_object ⇒ Object
The object a library uses for executing its commands.
69 70 71 |
# File 'lib/boson/library.rb', line 69 def namespace_object @namespace_object ||= Boson.main_object end |