This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cPropertyURIProperty | |
public static final java.lang.String cPropertyURIProperty | |
System.getProperty(cPropertyURIProperty) returns the URI of the property file. Define this on the java command line. For example, if your properties file is fred.properties then the command line should be | |
java -Dcom.uniservsolutions.stlouisfed.fred.properties="fred" | |
It is also necessary that the classpath contains the directory fred.properties is in. | |
The properties it's looking for are these: | |
# FRED API parameters | |
fredAPIKey=<api_key> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@byes = 0 | |
def prompt(*args) | |
print(*args) | |
gets.chomp | |
end | |
def random_year | |
rand(21) + 1930 | |
end |
NewerOlder