Method: ConfCtl::Swpins::Channel#initialize
- Defined in:
- lib/confctl/swpins/channel.rb
#initialize(name, nix_specs) ⇒ Channel
Returns a new instance of Channel.
17 18 19 20 21 |
# File 'lib/confctl/swpins/channel.rb', line 17 def initialize(name, nix_specs) @name = name @path = File.join(ConfCtl::Swpins.channel_dir, "#{name}.json") @nix_specs = nix_specs end |