class AtCoderVcFriends::Context
Holds applicaion global information
-
command line options
-
target path
-
configuration
-
application modules
Public Class Methods
new(options, path)
click to toggle source
# File lib/at_coder_vc_friends/context.rb, line 12 def initialize(options, path) @options = options @path_info = AtCoderVcFriends::PathInfo.new(File.expand_path(path)) end
Public Instance Methods
scraping_agent()
click to toggle source
# File lib/at_coder_vc_friends/context.rb, line 17 def scraping_agent @scraping_agent ||= AtCoderVcFriends::Scraping::Agent.new(self) end