Sha256: 4167ac4d6389c1dc365189522f13afebc5690cf281ca51b7daa53a9ec8fd0708
Contents?: true
Size: 1.05 KB
Versions: 3
Compression:
Stored size: 1.05 KB
Contents
# Author:: <%= fullname %> <<%= email %>>. # Copyright:: Copyright (c) <%= year %> Uttk Team. All rights reserved. # License:: LGPL # Revision:: $Id: /w/fey/uttk/trunk/lib/uttk/generators/templates/strategy.rb 24396 2006-07-10T08:23:37.784417Z ertai $ module Uttk module Strategies class <%= class_name %> < Strategy include Concrete # # Methods # def prologue super # ... end protected :prologue def run_impl # ... super # useless when subclassing Strategy # ... end protected :run_impl def assertion # ... fail('the reason') if ... pass end protected :assertion def epilogue # ... super end protected :epilogue # # Attributes # attribute :an_attribute, 'a description', THE_CLASS, DEFAULT_VALUE, :mandatory, :invisible end # class <%= class_name %> end # module Strategies end # module Uttk
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
uttk-0.4.6.1 | lib/uttk/generators/templates/strategy.rb |
uttk-0.4.5.0 | lib/uttk/generators/templates/strategy.rb |
uttk-0.4.6.2 | lib/uttk/generators/templates/strategy.rb |