Method: CrossPost::Config::FileSubConfig#initialize
- Defined in:
- lib/cross-post/config.rb
#initialize(file) ⇒ FileSubConfig
Returns a new instance of FileSubConfig.
79 80 81 82 |
# File 'lib/cross-post/config.rb', line 79 def initialize(file) @file = file super YAML.load_file @file end |