Sha256: 8079cdeaaff99e1f39cb80750df95da7614a58806018ec4928f0062c7e054df7

Contents?: true

Size: 327 Bytes

Versions: 12

Compression:

Stored size: 327 Bytes

Contents

module FeaturesHelper
  
  helpers do
    # ---------------------------------------------------------------------------
    # Find feature context for log entry
    def display_context( feature )
      if feature['ctl']
        return "#{feature['ctl']}##{feature['act']}"
      end
      feature['ctx']
    end      
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
wackamole-0.1.4 lib/helpers/features_helper.rb
wackamole-0.1.3 lib/helpers/features_helper.rb
wackamole-0.1.2 lib/helpers/features_helper.rb
wackamole-0.0.9 lib/helpers/features_helper.rb
wackamole-0.0.8 lib/helpers/features_helper.rb
wackamole-0.0.7 lib/helpers/features_helper.rb
wackamole-0.0.6 lib/helpers/features_helper.rb
wackamole-0.0.5 lib/helpers/features_helper.rb
wackamole-0.0.4 lib/helpers/features_helper.rb
wackamole-0.0.3 lib/helpers/features_helper.rb
wackamole-0.0.2 lib/helpers/features_helper.rb
wackamole-0.0.1 lib/helpers/features_helper.rb