Sha256: 5e967c482c73d4b26ba2935a913dd290752ae04ec1889d3f54486137aac46ded

Contents?: true

Size: 319 Bytes

Versions: 4

Compression:

Stored size: 319 Bytes

Contents

module Cucumber
  module RbSupport
    class RbStepDefinition

      def overridable(options = {})
        @overridable = true
        @priority = options[:priority]
        self
      end

      def overridable?
        !!@overridable
      end

      def priority
        @priority ||= 0
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cucumber_priority-0.2.0 lib/cucumber_priority/rb_step_definition_ext.rb
cucumber_priority-0.1.2 lib/cucumber_priority/rb_step_definition_ext.rb
cucumber_priority-0.1.1 lib/cucumber_priority/rb_step_definition_ext.rb
cucumber_priority-0.1.0 lib/cucumber_priority/rb_step_definition_ext.rb