Class: Dotenv::CLI
- Inherits:
-
Object
- Object
- Dotenv::CLI
- Defined in:
- lib/dotenv/cli.rb
Overview
The CLI is a class responsible of handling all the command line interface logic.
Instance Attribute Summary collapse
-
#argv ⇒ Object
readonly
Returns the value of attribute argv.
Instance Method Summary collapse
-
#initialize(argv = []) ⇒ CLI
constructor
A new instance of CLI.
- #run ⇒ Object
Constructor Details
#initialize(argv = []) ⇒ CLI
Returns a new instance of CLI.
9 10 11 |
# File 'lib/dotenv/cli.rb', line 9 def initialize(argv = []) @argv = argv.dup end |
Instance Attribute Details
#argv ⇒ Object (readonly)
Returns the value of attribute argv.
7 8 9 |
# File 'lib/dotenv/cli.rb', line 7 def argv @argv end |