Class: UncleKryon::DevOpts
- Inherits:
-
Object
- Object
- UncleKryon::DevOpts
- Includes:
- Singleton
- Defined in:
- lib/unclekryon/dev_opts.rb
Instance Attribute Summary collapse
-
#dev ⇒ Object
(also: #dev?)
Returns the value of attribute dev.
-
#test ⇒ Object
(also: #test?)
Returns the value of attribute test.
Instance Method Summary collapse
-
#initialize ⇒ DevOpts
constructor
A new instance of DevOpts.
Constructor Details
#initialize ⇒ DevOpts
Returns a new instance of DevOpts.
24 25 26 27 |
# File 'lib/unclekryon/dev_opts.rb', line 24 def initialize @dev = false @test = false end |
Instance Attribute Details
#dev ⇒ Object Also known as: dev?
Returns the value of attribute dev.
18 19 20 |
# File 'lib/unclekryon/dev_opts.rb', line 18 def dev @dev end |
#test ⇒ Object Also known as: test?
Returns the value of attribute test.
19 20 21 |
# File 'lib/unclekryon/dev_opts.rb', line 19 def test @test end |