Class: BaseComponent
- Inherits:
-
Object
- Object
- BaseComponent
- Includes:
- Glimmer
- Defined in:
- lib/desktop/components/base_component.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ BaseComponent
constructor
A new instance of BaseComponent.
Constructor Details
#initialize ⇒ BaseComponent
Returns a new instance of BaseComponent.
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/desktop/components/base_component.rb', line 6 def initialize super if File.directory?('spec') @folder = 'spec' @framework = 'rspec' @extension = '*_spec.rb' else @folder = 'features' @framework = 'cucumber' @extension = '*.feature' end end |