Sha256: 62742ceec2b3017cffc6cdfafd8667dd8f871422eda668d25e761da58a3aab4e
Contents?: true
Size: 526 Bytes
Versions: 2
Compression:
Stored size: 526 Bytes
Contents
require 'ratch/dsl' module Ratch # = Service # # In particular this means creating module for RunModes and FileUtils # which uses it, as these are the primary couplings between the batch # context and the services that are shared by all. class Service < DSL private # def initialize(options=nil) options ||= {} initialize_defaults options.each do |k, v| send("#{k}=", v) if respond_to?("#{k}=") end end # def initialize_defaults end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ratch-1.0.0 | lib/ratch/service.rb |
ratch-1.1.0 | lib/ratch/service.rb |