Class: Autoaudio::Setup

Inherits:
Thor
  • Object
show all
Defined in:
lib/autoaudio/setup.rb

Instance Method Summary collapse

Instance Method Details

#setupObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/autoaudio/setup.rb', line 5

def setup
  if yes?("Autoaudio is not initialized. Do you want to enter settings now? [yN]")
    # say ""
    # say "instructions:"
    # say ""
    # say ""
    # say "Change initialized to true"
    # say ""
    # say "download_location is where your nfo and nzb files will go"
    # say "maximum_retention is how long your usenet provider holds on to files"
    # say "nzb_client is, um, your nzb client"
    # say "zip files, zips files"
    # say "share_files allows your nzbs and nfo files to be gisted and tweeted"
    # say "tweet_files, tweets files"
    # say "twitter_username is your twitter username"
    system("open './config/settings.rb'")
  end
end