Sha256: 35e8c0f67c6dfa84de5075335fbf257509f8e36629e88fffe1a4e62ac23ea221

Contents?: true

Size: 256 Bytes

Versions: 1

Compression:

Stored size: 256 Bytes

Contents

require 'paramix'

describe "extend with parametric mixins" do

  # -- fixture ------------------------------

  module M
    include Paramix::Parametric

    parameterized do |params|

      public :f do
        params[:p]
      end

    end
  end


end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paramix-2.0.1 spec/paramix_extend_spec.rb