Class: Appraisal::Customize
- Inherits:
-
Object
- Object
- Appraisal::Customize
- Defined in:
- lib/appraisal/customize.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(heading: nil, single_quotes: false) ⇒ Customize
constructor
A new instance of Customize.
Constructor Details
#initialize(heading: nil, single_quotes: false) ⇒ Customize
Returns a new instance of Customize.
5 6 7 8 |
# File 'lib/appraisal/customize.rb', line 5 def initialize(heading: nil, single_quotes: false) @@heading = heading&.chomp @@single_quotes = single_quotes end |
Class Method Details
.heading(gemfile) ⇒ Object
10 11 12 13 |
# File 'lib/appraisal/customize.rb', line 10 def self.heading(gemfile) @@heading ||= nil customize(@@heading, gemfile) end |
.single_quotes ⇒ Object
15 16 17 |
# File 'lib/appraisal/customize.rb', line 15 def self.single_quotes @@single_quotes ||= false end |