Sha256: 7aedf7e758d99de06e4bc20d798f042adb9ee4ea3dcd1833d49d5e97b2b27673
Contents?: true
Size: 488 Bytes
Versions: 4
Compression:
Stored size: 488 Bytes
Contents
module BDDGen class Tasks def self.cucumber @cucumber_tasks ||= read_task_file('cucumber.rb') end def self.rspec @rspec_tasks ||= read_task_file('rspec.rb') end def self.yard(project_name) @yard_tasks ||= read_task_file('yard.rb').gsub( '{{project_name}}', project_name ) end private def self.read_task_file(filename) File.read(File.join(BDDGen::App.source_root, 'rake_tasks', filename)) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bddgen-0.3.0 | lib/bddgen/tasks.rb |
bddgen-0.2.1 | lib/bddgen/tasks.rb |
bddgen-0.2.0 | lib/bddgen/tasks.rb |
bddgen-0.1.0 | lib/bddgen/tasks.rb |