Sha256: e60b833f3e63577f52e40243849f461a32de621a5d48d2ebe6a733382d529914

Contents?: true

Size: 262 Bytes

Versions: 14

Compression:

Stored size: 262 Bytes

Contents

module Wally
  class Feature
    include MongoMapper::EmbeddedDocument

    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

14 entries across 14 versions & 1 rubygems

Version Path
wally-0.0.47 lib/wally/feature.rb
wally-0.0.46 lib/wally/feature.rb
wally-0.0.45 lib/wally/feature.rb
wally-0.0.44 lib/wally/feature.rb
wally-0.0.43 lib/wally/feature.rb
wally-0.0.42 lib/wally/feature.rb
wally-0.0.41 lib/wally/feature.rb
wally-0.0.40 lib/wally/feature.rb
wally-0.0.39 lib/wally/feature.rb
wally-0.0.38 lib/wally/feature.rb
wally-0.0.37 lib/wally/feature.rb
wally-0.0.36 lib/wally/feature.rb
wally-0.0.35 lib/wally/feature.rb
wally-0.0.34 lib/wally/feature.rb