Sha256: 14455e602422bb078a827c587bcd49f4b635e72d83f4ba91aa8edce60c275e71
Contents?: true
Size: 442 Bytes
Versions: 2
Compression:
Stored size: 442 Bytes
Contents
# encoding: utf-8 require "generators/generators" module Dslable::Generators::RSpec # Dslable::Generators::RSpec RSpec Template Generator(only execute 'rspec --init') class SpecTemplate attr_accessor :dsl #== initialize generate rspec template #=== Params #- _dsl: input from dsl def initialize(_dsl) @dsl = _dsl end #== generate rspec template def generate `rspec --init` end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dslable-0.0.2 | lib/generators/rspec/spec_template.rb |
dslable-0.0.1 | lib/generators/rspec/spec_template.rb |