Class: Pushnote::Cli
- Inherits:
-
Object
- Object
- Pushnote::Cli
- Defined in:
- lib/pushnote/cli.rb
Instance Attribute Summary collapse
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
-
#note ⇒ Object
readonly
Returns the value of attribute note.
Instance Method Summary collapse
-
#initialize(argv) ⇒ Cli
constructor
A new instance of Cli.
- #run ⇒ Object
Constructor Details
Instance Attribute Details
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
5 6 7 |
# File 'lib/pushnote/cli.rb', line 5 def configuration @configuration end |
#note ⇒ Object (readonly)
Returns the value of attribute note.
5 6 7 |
# File 'lib/pushnote/cli.rb', line 5 def note @note end |
Instance Method Details
#run ⇒ Object
12 13 14 15 16 |
# File 'lib/pushnote/cli.rb', line 12 def run note.collect_system_info read_note_body save_note end |