Sha256: 322111900269aa8ef373af29b2ccdb71fcde1dd262bdadc3cecdfc06d24ac27c

Contents?: true

Size: 254 Bytes

Versions: 4

Compression:

Stored size: 254 Bytes

Contents

module Wally
  class Feature
    include MongoMapper::Document

    key :path, String
    key :gherkin, Hash
    key :name, String

    before_save :save_feature_name

    private
    def save_feature_name
      @name = gherkin["name"]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wally-0.0.33 lib/wally/feature.rb
wally-0.0.32 lib/wally/feature.rb
wally-0.0.31 lib/wally/feature.rb
wally-0.0.30 lib/wally/feature.rb