Class: Bootinq::Mountable
- Defined in:
- lib/bootinq/component.rb
Instance Attribute Summary collapse
- #module_name ⇒ Symbol readonly
- #namespace ⇒ Module readonly
Instance Method Summary collapse
- #engine ⇒ Class
-
#initialize(intern) ⇒ Mountable
constructor
A new instance of Mountable.
- #mountable? ⇒ Boolean
Constructor Details
#initialize(intern) ⇒ Mountable
Returns a new instance of Mountable.
270 271 272 273 274 |
# File 'lib/bootinq/component.rb', line 270 def initialize(intern) super @module_name = module_name() @namespace = namespace() end |
Instance Attribute Details
#module_name ⇒ Symbol (readonly)
|
# File 'lib/bootinq/component.rb', line 264
|
#namespace ⇒ Module (readonly)
270 271 272 273 274 |
# File 'lib/bootinq/component.rb', line 270 def initialize(intern) super @module_name = module_name() @namespace = namespace() end |
Instance Method Details
#engine ⇒ Class
296 297 298 |
# File 'lib/bootinq/component.rb', line 296 def engine namespace::Engine end |
#mountable? ⇒ Boolean
276 277 278 |
# File 'lib/bootinq/component.rb', line 276 def mountable? true end |