Sha256: 0faf148bc39004f847144f0d3e0b2d729168fb63fe26839442e414ee704a13e5
Contents?: true
Size: 656 Bytes
Versions: 5
Compression:
Stored size: 656 Bytes
Contents
class Bueller module Commands class WriteGemspec attr_accessor :base_dir, :output, :gemspec_helper, :version_helper def initialize(bueller) self.output = $stdout self.base_dir = bueller.base_dir self.output = bueller.output self.gemspec_helper = bueller.gemspec_helper self.version_helper = bueller.version_helper end def run gemspec_helper.set_date gemspec_helper.write output.puts "Generated: #{gemspec_helper.path}" end def self.run_for(bueller) command = new(bueller) command.run command end end end end
Version data entries
5 entries across 5 versions & 1 rubygems