class Webspicy::Configuration::SingleYmlFile::SingleYmlFileScope
Attributes
file[R]
Public Class Methods
new(config, file)
click to toggle source
Calls superclass method
Webspicy::Configuration::Scope::new
# File lib/webspicy/configuration/single_yml_file.rb, line 7 def initialize(config, file) super(config) @file = file end
Public Instance Methods
each_specification(*args) { |factory.specification(read, nil, self)| ... }
click to toggle source
# File lib/webspicy/configuration/single_yml_file.rb, line 18 def each_specification(*args, &bl) return enum_for(:each_specification) unless block_given? yield config.factory.specification(file.read, nil, self) end
each_specification_file(*args) { |file| ... }
click to toggle source
# File lib/webspicy/configuration/single_yml_file.rb, line 13 def each_specification_file(*args, &bl) return enum_for(:each_specification_file) unless block_given? yield(file) end