Class: Bootinq::Mountable

Inherits:
Component show all
Defined in:
lib/bootinq/component.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameSymbol (readonly)

Returns:

  • (Symbol)


# File 'lib/bootinq/component.rb', line 264

#namespaceModule (readonly)

Returns:

  • (Module)


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

#engineClass

Returns:

  • (Class)


296
297
298
# File 'lib/bootinq/component.rb', line 296

def engine
  namespace::Engine
end

#mountable?Boolean

Returns:

  • (Boolean)


276
277
278
# File 'lib/bootinq/component.rb', line 276

def mountable?
  true
end