Sha256: 8ae2c18d6aaddc9d6f5afa5177d09270ff10a01fc2db80143a033f929d7611ea

Contents?: true

Size: 444 Bytes

Versions: 13

Compression:

Stored size: 444 Bytes

Contents

module Cucumber::Ast

  module MultilineArgument
    class << self

      alias_method :from_old, :from



      def from(argument)
        original_result = from_old(argument)
        if original_result.is_a? Cucumber::Ast::Table
          Cranium::TestFramework::CucumberTable.from_ast_table(original_result).with_patterns(
            "NULL" => nil
          )
        else
          original_result
        end
      end

    end
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
cranium-0.8.1 features/support/class_extensions.rb
cranium-0.8 features/support/class_extensions.rb
cranium-0.7 features/support/class_extensions.rb
cranium-0.6.1 features/support/class_extensions.rb
cranium-0.5 features/support/class_extensions.rb
cranium-0.4.3 features/support/class_extensions.rb
cranium-0.4.2 features/support/class_extensions.rb
cranium-0.4.1 features/support/class_extensions.rb
cranium-0.4 features/support/class_extensions.rb
cranium-0.3.1 features/support/class_extensions.rb
cranium-0.3.0 features/support/class_extensions.rb
cranium-0.2.1 features/support/class_extensions.rb
cranium-0.2.0 features/support/class_extensions.rb