Class: RailChaser::Configuration
- Inherits:
-
Object
- Object
- RailChaser::Configuration
- Defined in:
- lib/rail_chaser/configuration.rb
Instance Attribute Summary collapse
-
#db_path ⇒ Object
Returns the value of attribute db_path.
-
#skip_gem ⇒ Object
Returns the value of attribute skip_gem.
-
#skip_ruby_core ⇒ Object
Returns the value of attribute skip_ruby_core.
-
#skip_spec ⇒ Object
Returns the value of attribute skip_spec.
Instance Method Summary collapse
- #example_collection_options ⇒ Object
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #storage_options ⇒ Object
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 |
# File 'lib/rail_chaser/configuration.rb', line 5 def initialize @skip_gem = true @skip_ruby_core = true @skip_spec = true @db_path = 'spec.db' end |
Instance Attribute Details
#db_path ⇒ Object
Returns the value of attribute db_path.
3 4 5 |
# File 'lib/rail_chaser/configuration.rb', line 3 def db_path @db_path end |
#skip_gem ⇒ Object
Returns the value of attribute skip_gem.
3 4 5 |
# File 'lib/rail_chaser/configuration.rb', line 3 def skip_gem @skip_gem end |
#skip_ruby_core ⇒ Object
Returns the value of attribute skip_ruby_core.
3 4 5 |
# File 'lib/rail_chaser/configuration.rb', line 3 def skip_ruby_core @skip_ruby_core end |
#skip_spec ⇒ Object
Returns the value of attribute skip_spec.
3 4 5 |
# File 'lib/rail_chaser/configuration.rb', line 3 def skip_spec @skip_spec end |
Instance Method Details
#example_collection_options ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/rail_chaser/configuration.rb', line 12 def { :skip_gem => @skip_gem, :skip_ruby_core => @skip_ruby_core, :skip_spec => @skip_spec } end |
#storage_options ⇒ Object
20 21 22 23 24 |
# File 'lib/rail_chaser/configuration.rb', line 20 def { :db_path => @db_path } end |