class Capwatch::Fund::Config::Local
Constants
- FILE_NAME
Public Instance Methods
create_demo_file!()
click to toggle source
# File lib/capwatch/fund/config.rb, line 78 def create_demo_file! Demo.new.create_demo_config unless File.exist?(File.expand_path((Local::FILE_NAME))) end
get_data()
click to toggle source
# File lib/capwatch/fund/config.rb, line 73 def get_data create_demo_file! File.open(File.expand_path(FILE_NAME)).read end